criacao do token WRONGTOKEN, necessario para o novo analizador lexico
This commit is contained in:
3
lua.stx
3
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
|
||||||
|
|||||||
Reference in New Issue
Block a user