Article View: gnu.utils.bug
Article #388problem with parse_union_decl in bison
From: Adam de Boor
Date: Thu, 31 Aug 1989 02:30
Date: Thu, 31 Aug 1989 02:30
14 lines
750 bytes
750 bytes
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
Technical Details
Message-ID:
<8908310230.AA24214@promethium.bsw.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!bsw!adamShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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