From: Akim Demaille Date: Tue, 23 Apr 2002 14:07:56 +0000 (+0000) Subject: More. X-Git-Tag: BISON-1_49a~18 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/5c0a0514da52eece929c3aedaabb6170a34c051c?hp=1207eeacc2494f6b0c29b08aa224cf5c892a68f1 More. --- diff --git a/TODO b/TODO index fd0d4f70..567e5b73 100644 --- a/TODO +++ b/TODO @@ -45,6 +45,21 @@ this is a pleasant (but useless currently) feature, but in the future, I want a means to %include other bits of grammars, and _then_ it will be important for the various bits to define their needs in %union. +When implementing multiple-%union support, bare the following in mind: + +- when --yacc, this must be flagged as an error. Don't make it fatal + though. + +- The #line must now appear *inside* the definition of yystype. + Something like + + { + #line 12 "foo.y" + int ival; + #line 23 "foo.y" + char *sval; + } + * Coding system independence Paul notes: diff --git a/doc/.cvsignore b/doc/.cvsignore index 58c9e636..867820ee 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -6,6 +6,7 @@ bison.dvi bison.fn bison.ky bison.log +bison.pdf bison.pg bison.ps bison.toc