Skip to content

Commit 3bbfbcd

Browse files
committed
need an extra space before closing '>' to avoid getting '>>' on (templated) arguments already ending in '>'
1 parent 325ee60 commit 3bbfbcd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2013-09-14 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* src/attributes.cpp (Rcpp): Precede closing '>' by space to avoid '>>'
4+
15
2013-09-13 Romain Francois <romain@r-enthusiasts.com>
26

37
* src/api.cpp : added "long long" to the capabilities function.

src/attributes.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2167,7 +2167,8 @@ namespace attributes {
21672167
for (size_t i = 0; i<arguments.size(); i++) {
21682168
const Argument& argument = arguments[i];
21692169

2170-
ostr << " Rcpp::InputParameter< " << argument.type().full_name() << "> " << argument.name()
2170+
ostr << " Rcpp::InputParameter< "
2171+
<< argument.type().full_name() << " > " << argument.name()
21712172
<< "(" << argument.name() << "SEXP );" << std::endl;
21722173
}
21732174

0 commit comments

Comments
 (0)