summaryrefslogtreecommitdiff
path: root/src/laygram.y
AgeCommit message (Collapse)Author
2011-10-06Remove unused labelGuillem Jover
Fixes gcc warning: laygram.c: In function 'LayYYparse': laygram.y:242:7: warning: label 'unary' defined but not used [-Wunused-label] Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Guillem Jover <guillem@hadrons.org>
2011-09-17Remove %defines declaration for compatibility with yacc.Matthieu Herrb
The -d flag is used for bison/yacc and has the same effect. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-08Add LayYY.h header for common definitions of lex/yacc created functionsAlan Coopersmith
Ensures all sources use consistent types and provides central place to add _X_HIDDEN tags to avoid exporting these as part of the API/ABI. Also fixes: "laygram.c", line 1363: warning: implicit function declaration: LayYYlex "laygram.c", line 1777: warning: implicit function declaration: LayYYerror Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-09-07Use -p instead of %parser for compatibility with older bison & yaccAlan Coopersmith
The %name-prefix "prefix" syntax was introduced in bison 2.3b and is not supported in older bison and yacc parsers. Without this fix, bison 2.3 (older than 2.3b) gives the cryptic error: .../src/laygram.y:1.14-20: syntax error, unexpected string, expecting = Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Tested-by: Gaetan Nadon <memsize@videotron.ca>
2011-09-03Fix build after f28531a33d1f28bc86626b3013ef7857b564647fYaakov Selkowitz
Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-08-03Readd requred flex/bison stuff and fix it for autotoolsRafał Mużyło
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-02Strip trailing whitespace.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-08-01Move sources to src/.Matt Turner
Signed-off-by: Matt Turner <mattst88@gmail.com>