From 5c0a0514da52eece929c3aedaabb6170a34c051c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 23 Apr 2002 14:07:56 +0000 Subject: [PATCH] More. --- TODO | 15 +++++++++++++++ doc/.cvsignore | 1 + 2 files changed, 16 insertions(+) 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 -- 2.45.2