summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Scanner.l
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-10-22 00:56:51 +0000
committerMark Spruiell <mes@zeroc.com>2003-10-22 00:56:51 +0000
commitb88eaeca46e1beb3aa045a228d9c0ed7543ee9e7 (patch)
treeb78d298625d784a172db2f270f355ecb3c68c918 /cpp/src/Slice/Scanner.l
parentadding line number support (diff)
downloadice-b88eaeca46e1beb3aa045a228d9c0ed7543ee9e7.tar.bz2
ice-b88eaeca46e1beb3aa045a228d9c0ed7543ee9e7.tar.xz
ice-b88eaeca46e1beb3aa045a228d9c0ed7543ee9e7.zip
removing bison stuff from Parser.h; adding type() accessor to Enum
Diffstat (limited to 'cpp/src/Slice/Scanner.l')
-rw-r--r--cpp/src/Slice/Scanner.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l
index 2a0be3d8c5f..1c00d815e6e 100644
--- a/cpp/src/Slice/Scanner.l
+++ b/cpp/src/Slice/Scanner.l
@@ -51,6 +51,8 @@ int checkKeyword(string&);
%option noyywrap
%option never-interactive
+%option prefix="slice_"
+%option outfile="lex.yy.c"
identifier \\?[[:alpha:]_][[:alnum:]_]*
integer_constant (\+|-)?((0[0-7]+)|(0x[[:xdigit:]]+)|([[:digit:]]+))