public
/
bootstrap_bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ded92c
)
Fix serialization so that nodes (e.g. PYACC.Production) can be parented within the...
author
Nick Downing
<downing.nick@gmail.com>
Thu, 19 Jul 2018 12:38:44 +0000
(22:38 +1000)
committer
Nick Downing
<downing.nick@gmail.com>
Thu, 19 Jul 2018 12:38:44 +0000
(22:38 +1000)
src/reader.c
patch
|
blob
|
history
diff --git
a/src/reader.c
b/src/reader.c
index
802c15a
..
c74b827
100644
(file)
--- a/
src/reader.c
+++ b/
src/reader.c
@@
-677,11
+677,11
@@
reader (void)
gram_scanner_initialize ();
#if 1
void gram_piece_append(const char *str);
- gram_piece_append("<
RefList>
<PYACC ref=\"0\">");
+ gram_piece_append("<
root>\n
<PYACC ref=\"0\">");
#endif
gram_parse ();
#if 1
- gram_piece_append("</PYACC>
</RefList>
");
+ gram_piece_append("</PYACC>
\n</root>\n
");
extern char *gram_piece[];
extern int gram_piece1;