diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2001-09-19 19:19:03 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2001-09-19 19:19:03 +0000 |
commit | 75a2fd64ccaca871257fd678ee0be9b39b6abd1d (patch) | |
tree | 1c79d6addd6c580c95161e6100361ed5dafe61e4 /examples | |
parent | 29f3e1f0120b0015567a5dca474e17f2d8fb1024 (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.l | 6 |
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'; %% |