public override TOKEN OldAction(Lexer yym,ref string yytext,int action, ref bool reject) { switch(action) { case -1: break; case 946: { ((LSLTokens)yym).str += yytext; } break; case 1010: { yym.yy_begin("YYINITIAL"); ((LSLTokens)yym).yytext = ((LSLTokens)yym).str; ((LSLTokens)yym).str = String.Empty; return new STRING_CONSTANT(yym); } case 1015: { yym.yy_begin("COMMENT"); } break; case 1027: { yym.yy_begin("YYINITIAL"); } break; case 1041: ; break; case 1045: ; break; case 1054: ; break; case 1005: { ((LSLTokens)yym).str += '\\'; } break; case 1050: ; break; case 941: { yym.yy_begin("STRING"); ((LSLTokens)yym).str = "";} break; case 957: { ((LSLTokens)yym).str += "\\n"; } break; case 969: { ((LSLTokens)yym).str += " "; } break; case 981: { ((LSLTokens)yym).str += "\\\""; } break; case 952: { ((LSLTokens)yym).str += "\\n"; } break; case 993: { ((LSLTokens)yym).str += "\\\\"; } break; } return null; }}
public override TOKEN OldAction(Lexer yym,ref string yytext,int action, ref bool reject) { switch(action) { case -1: break; case 298: { ((PCLexer)yym).str += "\\"; } break; case 315: { yym.yy_begin("YYINITIAL"); ((PCLexer)yym).yytext = ((PCLexer)yym).str; return new STR(yym); } break; case 256: { ((PCLexer)yym).str += yytext; } break; case 641: {} break; case 262: { ((PCLexer)yym).str += "\n"; } break; case 628: {} break; case 251: { yym.yy_begin("STRING"); ((PCLexer)yym).str = ""; } break; case 274: { ((PCLexer)yym).str += "\t"; } break; case 286: { ((PCLexer)yym).str += ")"; } break; case 310: { ((PCLexer)yym).str += '\\'; } break; } return null; }}
public override TOKEN OldAction(Lexer yym, ref string yytext, int action, ref bool reject) { switch (action) { case -1: break; case 1011: { yym.yy_begin("YYINITIAL"); } break; case 1025: ; break; case 1029: ; break; case 977: { ((LSLTokens)yym).str += "\\\\"; } break; case 1034: ; break; case 1038: ; break; case 925: { yym.yy_begin("STRING"); ((LSLTokens)yym).str = ""; } break; case 930: { ((LSLTokens)yym).str += yytext; } break; case 936: { ((LSLTokens)yym).str += "\\n"; } break; case 941: { ((LSLTokens)yym).str += "\\n"; } break; case 953: { ((LSLTokens)yym).str += " "; } break; case 965: { ((LSLTokens)yym).str += "\\\""; } break; case 989: { ((LSLTokens)yym).str += '\\'; } break; case 994: { yym.yy_begin("YYINITIAL"); ((LSLTokens)yym).yytext = ((LSLTokens)yym).str; ((LSLTokens)yym).str = String.Empty; return new STRING_CONSTANT(yym); } case 999: { yym.yy_begin("COMMENT"); } break; } return null; }
public override TOKEN OldAction(Lexer yym,ref string yytext,int action, ref bool reject) { switch(action) { case -1: break; case 1015: { ((LSLTokens)yym).str += "\\\\"; } break; case 991: { ((LSLTokens)yym).str += " "; } break; case 963: { yym.yy_begin("STRING"); ((LSLTokens)yym).str = "";} break; case 1037: { yym.yy_begin("COMMENT"); } break; case 1049: { yym.yy_begin("YYINITIAL"); } break; case 1027: { ((LSLTokens)yym).str += '\\'; } break; case 1063: ; break; case 1076: ; break; case 1032: { yym.yy_begin("YYINITIAL"); ((LSLTokens)yym).yytext = ((LSLTokens)yym).str; ((LSLTokens)yym).str = String.Empty; return new STRING_CONSTANT(yym); } break; case 1067: ; break; case 1072: ; break; case 1003: { ((LSLTokens)yym).str += "\\\""; } break; case 974: { ((LSLTokens)yym).str += "\\n"; } break; case 979: { ((LSLTokens)yym).str += "\\n"; } break; case 968: { ((LSLTokens)yym).str += yytext; } break; } return null; }}