cleaned up a bit

This commit is contained in:
ceriel
1989-01-26 14:43:09 +00:00
parent 3ecbfced88
commit 0846e8f43b
4 changed files with 4 additions and 55 deletions

View File

@@ -44,7 +44,7 @@ char *to_change;
}
%token C_INSTR, DEF_C_INSTR, CONDITION, ARROW, EQUIV,
%token C_INSTR, DEF_C_INSTR, CONDITION, ARROW,
CALL, ASSEM_INSTR, DEFAULT, ERROR;
%start table, table;
%start def_row, def_row;
@@ -79,13 +79,6 @@ simple : ARROW { save_output();}
actionlist { back_patch();}
;
/*
| EQUIV { no_conversions = TRUE; save_output();}
actionlist { no_conversions = FALSE; back_patch();}
;
*/
actionlist : { first_action = TRUE;}
[ action { first_action = FALSE;}
@@ -131,9 +124,6 @@ Dspecial: CONDITION { out( " %s ", yytext);}
Dsimple : ARROW { out( "%s", yytext);}
Dactionlist
| EQUIV { out( "%s", yytext);}
Dactionlist
;
Dactionlist :
@@ -196,8 +186,6 @@ c_special : CONDITION
c_simple: ARROW
c_actionlist
| EQUIV
c_actionlist
;
c_actionlist :
@@ -254,8 +242,6 @@ int token;
break;
case ARROW : fprint( STDERR, "==> ");
break;
case EQUIV : fprint( STDERR, "::= ");
break;
case CONDITION: fprint( STDERR, "CONDITION %s", yytext);
break;
case DEFAULT : fprint( STDERR, "default ");