Skip to content

Commit

Permalink
correction to skeleton template
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Jun 18, 2018
1 parent ad20239 commit 07df706
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bld/yacc/c/yycompac.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#endif

typedef struct packed_action {
unsigned short token : 12;
unsigned short token : 12;
unsigned short high_action : 4;
unsigned char low_action;
} packed_action;
Expand Down Expand Up @@ -154,6 +154,7 @@ int yyparse( void )
switch( yyerrflag ) {
case 0:
yyerror( "syntax error" );
YYERROR;
yyerrlab:
case 1:
case 2:
Expand Down Expand Up @@ -233,7 +234,7 @@ static void actions( unsigned short production, YYSTYPE * yyvp )
YYSTYPE yyval;

switch( production ) {


default:
// No action required
return;
Expand Down

0 comments on commit 07df706

Please sign in to comment.