Commit e46fcca5 authored by David Gobbi's avatar David Gobbi
Browse files

BUG: Fix wrapping of std::string broken by recent commit.

In commit 4a8b64c5, the lex rule for std::string was changed to avoid
conflicts with std::stringstream.  Unfortunately, the new rule contained
an error, causing std::string to be ignored.

Change-Id: I38781b2f4e4b2be67818c2b05c4677a3eea91d02
parent 12f985b0
This diff is collapsed.
......@@ -406,7 +406,7 @@ static int pop_buffer();
yylval.str = vtkstrndup(yytext, yyleng);
return(ISTREAM); }
("vtkStdString"|("vtkstd::"|"std::")?"string"\[^a-zA-Z_]) {
("vtkStdString"|("vtkstd::"|"std::")?"string")/[^a-zA-Z0-9_] {
yylval.str = vtkstrndup(yytext, yyleng);
return(StdString); }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment