Skip to content

Commit

Permalink
Fix some -Wall except brace suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
fenner committed Dec 14, 2006
1 parent c5ab151 commit 2484ecc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

#include "common.h"

static const char rcsid[] =
"$Fenner: abnf-parser/parser.y,v 1.20 2004/10/11 17:14:11 fenner Exp $";
"$Fenner: abnf-parser/parser.y,v 1.21 2006/12/07 22:37:52 fenner Exp $";

extern int yylineno, yycolumn;

Expand All @@ -57,6 +58,8 @@ int *yychar1p = NULL;
int pipewarn = 0;

object *newobj(int);
int yyerror(char *);
int yylex(void);
%}

%union {
Expand Down Expand Up @@ -339,6 +342,7 @@ yyerror(char *s)
#else
mywarn(MYERROR, "%s\n", s);
#endif
return 0;
}

object *
Expand Down

0 comments on commit 2484ecc

Please sign in to comment.