Skip to content
Snippets Groups Projects
Commit fd3a2af9 authored by Administrator's avatar Administrator
Browse files

Added several more tokens that can occur in strings

parent e02028a5
No related branches found
No related tags found
No related merge requests found
Dumper.class
GenCompiler.class
Parser.class
PrettyPrint.class
AST
SchemaCompile.jar
SchemaCompiler.jar
*~
...@@ -18,9 +18,9 @@ aspect JavaCCChunks { ...@@ -18,9 +18,9 @@ aspect JavaCCChunks {
pStream.println(" NODE_PREFIX = \"\";"); pStream.println(" NODE_PREFIX = \"\";");
pStream.println(" JAVA_UNICODE_ESCAPE = true;"); pStream.println(" JAVA_UNICODE_ESCAPE = true;");
pStream.println(" STATIC = false;"); pStream.println(" STATIC = false;");
// pStream.println(" DEBUG_PARSER = true;"); pStream.println("// DEBUG_PARSER = true;");
// pStream.println(" DEBUG_LOOKAHEAD = true;"); pStream.println("// DEBUG_LOOKAHEAD = true;");
// pStream.println(" DEBUG_TOKEN_MANAGER = true;"); pStream.println("// DEBUG_TOKEN_MANAGER = true;");
pStream.println("} "); pStream.println("} ");
pStream.println(); pStream.println();
pStream.println("PARSER_BEGIN(XmlParser)"); pStream.println("PARSER_BEGIN(XmlParser)");
...@@ -132,11 +132,13 @@ aspect JavaCCChunks { ...@@ -132,11 +132,13 @@ aspect JavaCCChunks {
pStream.println(" \"\\u0024\","); pStream.println(" \"\\u0024\",");
pStream.println(" \"\\u0041\"-\"\\u005a\","); pStream.println(" \"\\u0041\"-\"\\u005a\",");
pStream.println(" \"\\u005f\","); pStream.println(" \"\\u005f\",");
pStream.println(" \"-\",\":\",");
pStream.println(" \"\\u0061\"-\"\\u007a\","); pStream.println(" \"\\u0061\"-\"\\u007a\",");
pStream.println(" \"\\u00c0\"-\"\\u00d6\","); pStream.println(" \"\\u00c0\"-\"\\u00d6\",");
pStream.println(" \"\\u00d8\"-\"\\u00f6\","); pStream.println(" \"\\u00d8\"-\"\\u00f6\",");
pStream.println(" \"\\u00f8\"-\"\\u00ff\","); pStream.println(" \"\\u00f8\"-\"\\u00ff\",");
pStream.println(" \"\\u0100\"-\"\\u1fff\","); pStream.println(" \"\\u0100\"-\"\\u1fff\",");
pStream.println(" \"\\u2013\"-\"\\u20ac\",");
pStream.println(" \"\\u3040\"-\"\\u318f\","); pStream.println(" \"\\u3040\"-\"\\u318f\",");
pStream.println(" \"\\u3300\"-\"\\u337f\","); pStream.println(" \"\\u3300\"-\"\\u337f\",");
pStream.println(" \"\\u3400\"-\"\\u3d2d\","); pStream.println(" \"\\u3400\"-\"\\u3d2d\",");
...@@ -177,7 +179,10 @@ aspect JavaCCChunks { ...@@ -177,7 +179,10 @@ aspect JavaCCChunks {
pStream.println(" | < LPAR : \"(\" >"); pStream.println(" | < LPAR : \"(\" >");
pStream.println(" | < RPAR : \")\" >"); pStream.println(" | < RPAR : \")\" >");
pStream.println(" | < DOT : \".\" >"); pStream.println(" | < DOT : \".\" >");
pStream.println(" | < COMMA : \",\" >");
pStream.println(" | < SEMICOLON : \";\" >"); pStream.println(" | < SEMICOLON : \";\" >");
pStream.println(" | < AMPERSAND : \"&\" >");
pStream.println(" | < SLASH : \"/\" >");
pStream.println(" | < LTSLASH : \"</\" > : DEFAULT"); pStream.println(" | < LTSLASH : \"</\" > : DEFAULT");
pStream.println(" | < LTBANG : \"<!\" > : DEFAULT"); pStream.println(" | < LTBANG : \"<!\" > : DEFAULT");
pStream.println(" | < LT : \"<\" > : DEFAULT"); pStream.println(" | < LT : \"<\" > : DEFAULT");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment