/[bison]/bison/src/reader.c
ViewVC logotype

Diff of /bison/src/reader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.226 by eggert, Sat Nov 30 09:52:11 2002 UTC revision 1.227 by eggert, Sat Dec 7 06:02:10 2002 UTC
# Line 70  prologue_augment (const char *prologue, Line 70  prologue_augment (const char *prologue,
70      !typed ? &pre_prologue_obstack : &post_prologue_obstack;      !typed ? &pre_prologue_obstack : &post_prologue_obstack;
71    
72    obstack_fgrow1 (oout, "]b4_syncline([[%d]], [[",    obstack_fgrow1 (oout, "]b4_syncline([[%d]], [[",
73                    location.first_line);                    location.start.line);
74    MUSCLE_OBSTACK_SGROW (oout, quotearg_style (c_quoting_style, location.file));    MUSCLE_OBSTACK_SGROW (oout, quotearg_style (c_quoting_style,
75                                                  location.start.file));
76    obstack_sgrow (oout, "]])[\n");    obstack_sgrow (oout, "]])[\n");
77    obstack_sgrow (oout, prologue);    obstack_sgrow (oout, prologue);
78  }  }
# Line 88  epilogue_augment (const char *epilogue, Line 89  epilogue_augment (const char *epilogue,
89  {  {
90    char *extension = NULL;    char *extension = NULL;
91    obstack_fgrow1 (&muscle_obstack, "]b4_syncline([[%d]], [[",    obstack_fgrow1 (&muscle_obstack, "]b4_syncline([[%d]], [[",
92                    location.first_line);                    location.start.line);
93    MUSCLE_OBSTACK_SGROW (&muscle_obstack,    MUSCLE_OBSTACK_SGROW (&muscle_obstack,
94                          quotearg_style (c_quoting_style, location.file));                          quotearg_style (c_quoting_style, location.start.file));
95    obstack_sgrow (&muscle_obstack, "]])[\n");    obstack_sgrow (&muscle_obstack, "]])[\n");
96    obstack_sgrow (&muscle_obstack, epilogue);    obstack_sgrow (&muscle_obstack, epilogue);
97    obstack_1grow (&muscle_obstack, 0);    obstack_1grow (&muscle_obstack, 0);

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26