Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!bsw!adam From: bsw!adam@UUNET.UU.NET (Adam de Boor) Newsgroups: gnu.utils.bug Subject: problem with parse_union_decl in bison Message-ID: <8908310230.AA24214@promethium.bsw.com> Date: 31 Aug 89 02:30:35 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14 if one has a multi-line comment inside the union declaration, the line counter isn't incremented, so the rest of the code has improper line numbers in the symbol table. The fix is to place lines like if (c == '\n') { lineno++; c = getc(finput); } else if (c == '*') in parse_union_decl in the section that reads comments... a