]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
Move symbols handling code out of the reader.
[bison.git] / ChangeLog
index 4a450cbc0a9bd86f426e8ed724afea714a213db8..02a0e19ddcb37f7efe50b3dcfa6d7bea71fa1c7b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,90 @@
+2002-06-09  Akim Demaille  <akim@epita.fr>
+
+       Move symbols handling code out of the reader.
+
+       * src/reader.h, src/reader.c (errtoken, undeftoken, eoftoken)
+       (axiom): Move to...
+       * src/symtab.h, src/symtab.c: here.
+
+       * src/gram.c (start_symbol): Remove: use startsymbol->number.
+       * src/reader.c (startval): Rename as...
+       * src/symtab.h, src/symtab.c (startsymbol): this.
+       * src/reader.c: Adjust.
+
+       * src/reader.c (symbol_check_defined, symbol_make_alias)
+       (symbol_check_alias_consistence, symbol_pack, symbol_translation)
+       (token_translations_init)
+       Move to...
+       * src/symtab.c: here.
+       * src/reader.c (packsymbols): Move to...
+       * src/symtab.h, src/symtab.c (symbols_pack): here.
+       * src/symtab.h, src/symtab.c (symbol_make_alias): Takes SYMVAL as
+       argument.
+
+2002-06-03  Akim Demaille  <akim@epita.fr>
+
+       * src/muscle_tab.c (muscle_insert, muscle_find): Declarations,
+       then statements.
+
+2002-06-03  Akim Demaille  <akim@epita.fr>
+
+       * src/muscle_tab.c (muscle_find, muscle_insert): Don't initialize
+       structs with non literals.
+       * src/scan-skel.l: never-interactive.
+       * src/conflicts.c (enum conflict_resolution_e): No trailing
+       comma.
+       * src/getargs.c (usage): Split long literal strings.
+       Reported by Hans Aberg.
+
+2002-05-28  Akim Demaille  <akim@epita.fr>
+
+       * data/bison.c++: Use C++ ostreams.
+       (cdebug_): New member.
+
+2002-05-28  Akim Demaille  <akim@epita.fr>
+
+       * src/output.c (output_skeleton): Be sure to allocate enough room
+       for `/' _and_ for `\0' in full_skeleton.
+
+2002-05-28  Akim Demaille  <akim@epita.fr>
+
+       * data/bison.c++: Catch up with bison.simple:
+       2002-05-24  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
+       and Paul Eggert  <eggert@twinsun.com>: `error' handing.
+       2002-05-26  Akim Demaille  <akim@epita.fr>: stos_, token_number_,
+       and popping traces.
+
+2002-05-27  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
+
+       * src/output.c (output_skeleton): Put an explicit path in front of
+       the skeleton file name, rather than relying on the -I directory,
+       to partially alleviate effects of having a skeleton file lying around
+       in the current directory.
+
+2002-05-27  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
+
+       * src/conflicts.c (log_resolution): Correct typo:
+       obstack_printf should be obstack_fgrow1.
+
+2002-05-26  Akim Demaille  <akim@epita.fr>
+
+       * src/state.h (state_t): `solved_conflicts' is a new member.
+       * src/LR0.c (new_state): Set it to 0.
+       * src/conflicts.h, src/conflicts.c (print_conflicts)
+       (free_conflicts, solve_conflicts): Rename as...
+       (conflicts_print, conflicts_free, conflicts_solve): these.
+       Adjust callers.
+       * src/conflicts.c (enum conflict_resolution_e)
+       (solved_conflicts_obstack): New, used by...
+       (log_resolution): this.
+       Adjust to attach the conflict resolution to each state.
+       Complete the description with the precedence/associativity
+       information.
+       (resolve_sr_conflict): Adjust.
+       * src/print.c (print_state): Output its solved_conflicts.
+       * tests/conflicts.at (Unresolved SR Conflicts)
+       (Solved SR Conflicts): Exercise --report=all.
+
 2002-05-26  Akim Demaille  <akim@epita.fr>
 
        * src/LR0.c, src/derives.c, src/gram.c, src/gram.h, src/lalr.c,
 
 2002-05-24  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
        and Paul Eggert  <eggert@twinsun.com>
-       
+
        * data/bison.simple (yyparse): Correct error handling to conform to
        POSIX and yacc.  Specifically, after syntax error is discovered,
        do not reduce further before shifting the error token.
        * data/bison.simple (yyr1): Don't use yy_token_number_type as element
        type; it isn't always big enough, since it doesn't necessarily
        include non-terminals.
-       (yytranslate): Expand definition of yy_token_number_type, so that 
+       (yytranslate): Expand definition of yy_token_number_type, so that
        the latter can be removed.
        (yy_token_number_type): Remove, only one use.
        * data/bison.c++ (r1_): Parallel change to yyr1 in bison.simple---
        don't use TokenNumberType as element type.
-       
+
        * tests/regression.at: Modify expected output to agree with change
        to yyr1 and yytranslate.
-       
+
 2002-05-13  Florian Krohm  <florian@edamail.fishkill.ibm.com>
 
        * src/reader.c (parse_action): Use copy_character instead of