Package: bison
Version: 1:2.3.dfsg-5
Severity: normal
The code bison generates can't handle non-pod semantic values
as it uses C unions.
I would like to write my own parser and use only the tables bison
generates.
According to the documentation this is accomplished with the
"%no-parser" directive.
In the directives section I have
%skeleton "lalr1.cc" /* -*- C++ -*- */
%require "2.3"
%no-parser
along with token directives.
However when I invoke bison I get the error message
bison -l -g -r itemset -k -d -p Cxx -o cxx.cc cxx_statement.y
cxx_statement.y:11.1-10: invalid directive: `%no-parser'
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bison depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii m4 1.4.11-1 a macro processing language
bison recommends no packages.
Versions of packages bison suggests:
ii bison-doc 1:2.3-2 Documentation for the Bison parser
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]