Browse Source

criacao do token WRONGTOKEN, necessario para o novo analizador lexico

Roberto Ierusalimschy 32 years ago
parent
commit
7f8a7e16cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lua.stx

+ 2 - 1
lua.stx

@@ -1,6 +1,6 @@
 %{
 %{
 
 
-char *rcs_luastx = "$Id: $";
+char *rcs_luastx = "$Id: lua.stx,v 1.1 1993/12/17 18:53:07 celes Exp roberto $";
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
@@ -150,6 +150,7 @@ static void code_number (float f)
 
 
 %start functionlist
 %start functionlist
 
 
+%token WRONGTOKEN
 %token NIL
 %token NIL
 %token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
 %token IF THEN ELSE ELSEIF WHILE DO REPEAT UNTIL END
 %token RETURN
 %token RETURN