-[>][=] {c();return m(T_GE);}
-[<][=] {c();return m(T_LE);}
-[-][-] {c();BEGIN(INITIAL);return m(T_MINUSMINUS);}
-[+][+] {c();BEGIN(INITIAL);return m(T_PLUSPLUS);}
-[+][=] {c();return m(T_PLUSBY);}
-[-][=] {c();return m(T_MINUSBY);}
-[/][=] {c();return m(T_DIVBY);}
-[%][=] {c();return m(T_MODBY);}
-[*][=] {c();return m(T_MULBY);}
-[>][>][=] {c();return m(T_SHRBY);}
-[<][<][=] {c();return m(T_SHLBY);}
-[>][>][>][=] {c();return m(T_USHRBY);}
-[<][<] {c();return m(T_SHL);}
-[>][>][>] {c();return m(T_USHR);}
-[>][>] {c();return m(T_SHR);}
-\.\.\. {c();return m(T_DOTDOTDOT);}
-\.\. {c();return m(T_DOTDOT);}
-\. {c();return m('.');}
-:: {c();return m(T_COLONCOLON);}
-: {c();return m(':');}
-implements {c();return m(KW_IMPLEMENTS);}
-interface {c();return m(KW_INTERFACE);}
-namespace {c();return m(KW_NAMESPACE);}
-protected {c();return m(KW_PROTECTED);}
-override {c();return m(KW_OVERRIDE);}
-internal {c();return m(KW_INTERNAL);}
-function {c();return m(KW_FUNCTION);}
-package {c();return m(KW_PACKAGE);}
-private {c();return m(KW_PRIVATE);}
-Boolean {c();return m(KW_BOOLEAN);}
-dynamic {c();return m(KW_DYNAMIC);}
-extends {c();return m(KW_EXTENDS);}
-return {c();return m(KW_RETURN);}
-public {c();return m(KW_PUBLIC);}
-native {c();return m(KW_NATIVE);}
-static {c();return m(KW_STATIC);}
-import {c();return m(KW_IMPORT);}
-Number {c();return m(KW_NUMBER);}
-while {c();return m(KW_WHILE);}
-class {c();return m(KW_CLASS);}
-const {c();return m(KW_CONST);}
-final {c();return m(KW_FINAL);}
-false {c();return m(KW_FALSE);}
-break {c();return m(KW_BREAK);}
-true {c();return m(KW_TRUE);}
-uint {c();return m(KW_UINT);}
-null {c();return m(KW_NULL);}
-else {c();return m(KW_ELSE);}
-use {c();return m(KW_USE);}
-int {c();return m(KW_INT);}
-new {c();return m(KW_NEW);}
-get {c();return m(KW_GET);}
-for {c();return m(KW_FOR);}
-set {c();return m(KW_SET);}
-var {c();return m(KW_VAR);}
-is {c();return m(KW_IS) ;}
-if {c();return m(KW_IF) ;}
-as {c();return m(KW_AS);}
-{NAME} {c();BEGIN(INITIAL);return mkid(T_IDENTIFIER);}
-
-[+-\/*^~@$!%&\(=\[\]\{\}|?:;,.<>] {c();BEGIN(REGEXPOK);return m(yytext[0]);}
-[\)\]] {c();BEGIN(INITIAL);return m(yytext[0]);}
-
-. {char c1=yytext[0];
- char buf[128];
- buf[0] = yytext[0];
- int t;
- for(t=1;t<128;t++) {
- char c = buf[t]=input();
- if(c=='\n' || c==EOF) {
- buf[t] = 0;
- break;
- }
- }
- if(c1>='0' && c1<='9')
- syntaxerror("syntax error: %s (identifiers must not start with a digit)");
- else
- syntaxerror("syntax error: %s", buf);
- printf("\n");
- exit(1);
- yyterminate();
- }
-<<EOF>> {c();
+[>][=] {c();BEGIN(REGEXPOK);return m(T_GE);}
+[<][=] {c();BEGIN(REGEXPOK);return m(T_LE);}
+[-][-] {c();BEGIN(DEFAULT);return m(T_MINUSMINUS);}
+[+][+] {c();BEGIN(DEFAULT);return m(T_PLUSPLUS);}
+[+][=] {c();BEGIN(REGEXPOK);return m(T_PLUSBY);}
+[\^][=] {c();BEGIN(REGEXPOK);return m(T_XORBY);}
+[-][=] {c();BEGIN(REGEXPOK);return m(T_MINUSBY);}
+[/][=] {c();BEGIN(REGEXPOK);return m(T_DIVBY);}
+[%][=] {c();BEGIN(REGEXPOK);return m(T_MODBY);}
+[*][=] {c();BEGIN(REGEXPOK);return m(T_MULBY);}
+[|][=] {c();BEGIN(REGEXPOK);return m(T_ORBY);}
+[&][=] {c();BEGIN(REGEXPOK);return m(T_ANDBY);}
+[>][>][=] {c();BEGIN(REGEXPOK);return m(T_SHRBY);}
+[<][<][=] {c();BEGIN(REGEXPOK);return m(T_SHLBY);}
+[>][>][>][=] {c();BEGIN(REGEXPOK);return m(T_USHRBY);}
+[<][<] {c();BEGIN(REGEXPOK);return m(T_SHL);}
+[>][>][>] {c();BEGIN(REGEXPOK);return m(T_USHR);}
+[>][>] {c();BEGIN(REGEXPOK);return m(T_SHR);}
+\.\.\. {c();BEGIN(REGEXPOK);return m(T_DOTDOTDOT);}
+\.\. {c();BEGIN(REGEXPOK);return m(T_DOTDOT);}
+\. {c();BEGIN(REGEXPOK);return m('.');}
+:: {c();BEGIN(REGEXPOK);return m(T_COLONCOLON);}
+: {c();BEGIN(REGEXPOK);return m(':');}
+instanceof {c();BEGIN(REGEXPOK);return m(KW_INSTANCEOF);}
+implements {c();BEGIN(REGEXPOK);return m(KW_IMPLEMENTS);}
+interface {c();BEGIN(DEFAULT);return m(KW_INTERFACE);}
+protected {c();BEGIN(DEFAULT);return m(KW_PROTECTED);}
+namespace {c();BEGIN(DEFAULT);return m(KW_NAMESPACE);}
+undefined {c();BEGIN(DEFAULT);return m(KW_UNDEFINED);}
+arguments {c();BEGIN(DEFAULT);return m(KW_ARGUMENTS);}
+continue {c();BEGIN(DEFAULT);return m(KW_CONTINUE);}
+override {c();BEGIN(DEFAULT);return m(KW_OVERRIDE);}
+internal {c();BEGIN(DEFAULT);return m(KW_INTERNAL);}
+function {c();BEGIN(DEFAULT);return m(KW_FUNCTION);}
+finally {c();BEGIN(DEFAULT);return m(KW_FINALLY);}
+default {c();BEGIN(DEFAULT);return m(KW_DEFAULT);}
+package {c();BEGIN(DEFAULT);return m(KW_PACKAGE);}
+private {c();BEGIN(DEFAULT);return m(KW_PRIVATE);}
+dynamic {c();BEGIN(DEFAULT);return m(KW_DYNAMIC);}
+extends {c();BEGIN(DEFAULT);return m(KW_EXTENDS);}
+delete {c();BEGIN(REGEXPOK);return m(KW_DELETE);}
+return {c();BEGIN(REGEXPOK);return m(KW_RETURN);}
+public {c();BEGIN(DEFAULT);return m(KW_PUBLIC);}
+native {c();BEGIN(DEFAULT);return m(KW_NATIVE);}
+static {c();BEGIN(DEFAULT);return m(KW_STATIC);}
+import {c();BEGIN(REGEXPOK);return m(KW_IMPORT);}
+typeof {c();BEGIN(REGEXPOK);return m(KW_TYPEOF);}
+throw {c();BEGIN(REGEXPOK);return m(KW_THROW);}
+class {c();BEGIN(DEFAULT);return m(KW_CLASS);}
+const {c();BEGIN(DEFAULT);return m(KW_CONST);}
+catch {c();BEGIN(DEFAULT);return m(KW_CATCH);}
+final {c();BEGIN(DEFAULT);return m(KW_FINAL);}
+false {c();BEGIN(DEFAULT);return m(KW_FALSE);}
+break {c();BEGIN(DEFAULT);return m(KW_BREAK);}
+super {c();BEGIN(DEFAULT);return m(KW_SUPER);}
+each {c();BEGIN(DEFAULT);return m(KW_EACH);}
+void {c();BEGIN(DEFAULT);return m(KW_VOID);}
+true {c();BEGIN(DEFAULT);return m(KW_TRUE);}
+null {c();BEGIN(DEFAULT);return m(KW_NULL);}
+else {c();BEGIN(DEFAULT);return m(KW_ELSE);}
+case {c();BEGIN(REGEXPOK);return m(KW_CASE);}
+with {c();BEGIN(REGEXPOK);return m(KW_WITH);}
+use {c();BEGIN(REGEXPOK);return m(KW_USE);}
+new {c();BEGIN(REGEXPOK);return m(KW_NEW);}
+get {c();BEGIN(DEFAULT);return m(KW_GET);}
+set {c();BEGIN(DEFAULT);return m(KW_SET);}
+var {c();BEGIN(DEFAULT);return m(KW_VAR);}
+try {c();BEGIN(DEFAULT);return m(KW_TRY);}
+is {c();BEGIN(REGEXPOK);return m(KW_IS) ;}
+in {c();BEGIN(REGEXPOK);return m(KW_IN) ;}
+if {c();BEGIN(DEFAULT);return m(KW_IF) ;}
+as {c();BEGIN(REGEXPOK);return m(KW_AS);}
+$?{NAME} {c();BEGIN(DEFAULT);return handleIdentifier();}
+
+[\]\}*] {c();BEGIN(DEFAULT);return m(yytext[0]);}
+[+-\/^~@$!%&\(=\[|?:;,<>] {c();BEGIN(REGEXPOK);return m(yytext[0]);}
+[\)\]] {c();BEGIN(DEFAULT);return m(yytext[0]);}
+
+<DEFAULT,BEGINNING,REGEXPOK,XML,XMLTEXT>{
+. {tokenerror();}
+}
+<<EOF>> {l();