diff --git a/ChangeLog b/ChangeLog index 37d05aca9..77a5ed69f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-16 Robert Larice + * src/frontend/parse-bison.c , + * src/spicelib/parser/inpptree-parser.c : + regenerate bison output files + 2010-11-16 Robert Larice * src/frontend/parse-bison.y , * src/spicelib/parser/inpptree-parser.y , diff --git a/src/frontend/parse-bison.c b/src/frontend/parse-bison.c index 4c463704a..ca2865a59 100644 --- a/src/frontend/parse-bison.c +++ b/src/frontend/parse-bison.c @@ -131,7 +131,7 @@ # define __func__ __FUNCTION__ /* __func__ is C99, but MSC can't */ #endif - #define U(x) (void)x + /* Enabling traces. */ @@ -1867,7 +1867,10 @@ yyreturn: static void PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *s) { - U(line); U(retval); + IGNORE(locp); + IGNORE(line); + IGNORE(retval); + fprintf (stderr, "%s: %s\n", __func__, s); } diff --git a/src/spicelib/parser/inpptree-parser.c b/src/spicelib/parser/inpptree-parser.c index 4eb320345..cede2753c 100644 --- a/src/spicelib/parser/inpptree-parser.c +++ b/src/spicelib/parser/inpptree-parser.c @@ -119,7 +119,7 @@ # define __func__ __FUNCTION__ /* __func__ is C99, but MSC can't */ #endif - #define U(x) (void)x + /* Enabling traces. */ @@ -1761,7 +1761,10 @@ yyreturn: static void PTerror (char **line, struct INPparseNode **retval, void *ckt, char const *s) { - U(line); U(retval); U(ckt); + IGNORE(line); + IGNORE(retval); + IGNORE(ckt); + fprintf (stderr, "%s: %s\n", __func__, s); }