diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-01-03 13:11:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-01-03 13:49:24 (GMT) |
commit | 088896f27f460b6ac03c2d64df148e3617c1e519 (patch) | |
tree | 5b0c250c54a6ede082f765d507d749fad52b0756 /vhdlparser/TokenMgrError.cc | |
parent | d75455eef7c91f11c2b9061d9a086ce93c4231b2 (diff) | |
download | Doxygen-088896f27f460b6ac03c2d64df148e3617c1e519.zip Doxygen-088896f27f460b6ac03c2d64df148e3617c1e519.tar.gz Doxygen-088896f27f460b6ac03c2d64df148e3617c1e519.tar.bz2 |
Switched back to version 6.2 of JavaCC for VHDL parser generation.
Diffstat (limited to 'vhdlparser/TokenMgrError.cc')
-rw-r--r-- | vhdlparser/TokenMgrError.cc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/vhdlparser/TokenMgrError.cc b/vhdlparser/TokenMgrError.cc index 0be1213..6231196 100644 --- a/vhdlparser/TokenMgrError.cc +++ b/vhdlparser/TokenMgrError.cc @@ -1,4 +1,4 @@ -/* Generated By:JavaCC: Do not edit this line. TokenMgrError.cc Version 6.0 */ +/* Generated By:JavaCC: Do not edit this line. TokenMgrError.cc Version 6.2 */ /* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ #include "TokenMgrError.h" @@ -61,11 +61,8 @@ namespace parser { errorCode = reason; } -} -} - // i < 16 - guaranteed -static char hexChar(int i) { +char hexChar(int i) { if (i < 10) { return i - '0'; } @@ -82,9 +79,6 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str) { JAVACC_CHAR_TYPE ch = str[i]; switch (ch) { - case 0 : - retval += EMPTY[0]; - continue; case '\b': retval.append("\\b"); continue; @@ -118,4 +112,7 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str) { } return retval; } -/* JavaCC - OriginalChecksum=7f80e3c4eac120168f5e81d4ddb72e4b (do not edit this line) */ + +} +} +/* JavaCC - OriginalChecksum=2fe11435e6701b2fca885354b08bfdf6 (do not edit this line) */ |