summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-09-19 19:19:03 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-09-19 19:19:03 +0000
commit75a2fd64ccaca871257fd678ee0be9b39b6abd1d (patch)
tree1c79d6addd6c580c95161e6100361ed5dafe61e4 /examples
parent29f3e1f0120b0015567a5dca474e17f2d8fb1024 (diff)
made preliminary c++ fixes; the intent is to make it work with recent c++ compilers
Diffstat (limited to 'examples')
-rw-r--r--examples/testxxLexer.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/testxxLexer.l b/examples/testxxLexer.l
index 9421541..e2aed33 100644
--- a/examples/testxxLexer.l
+++ b/examples/testxxLexer.l
@@ -39,13 +39,13 @@ number {num1}|{num2}
}
}
-{number} cout << "number " << YYText() << '\n';
+{number} FLEX_STD cout << "number " << YYText() << '\n';
\n mylineno++;
-{name} cout << "name " << YYText() << '\n';
+{name} FLEX_STD cout << "name " << YYText() << '\n';
-{string} cout << "string " << YYText() << '\n';
+{string} FLEX_STD cout << "string " << YYText() << '\n';
%%