diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-02 23:00:07 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-07 14:48:16 -0700 |
commit | c74b539a20f5cb7c058e6b16af68ddf7d6015a13 (patch) | |
tree | 982927702424607551d9cbfe1281067b26456fcd /src/laygram.y | |
parent | 495853f8f93a990823b3ba48235ece1c23ca37bc (diff) |
Use -p instead of %parser for compatibility with older bison & yacc
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>
Diffstat (limited to 'src/laygram.y')
-rw-r--r-- | src/laygram.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/laygram.y b/src/laygram.y index 3644dd4..6c79b16 100644 --- a/src/laygram.y +++ b/src/laygram.y @@ -1,4 +1,3 @@ -%name-prefix "LayYY" %defines %{ #include <X11/Xlib.h> |