]> git.saurik.com Git - bison.git/commit
Style changes and factoring.
authorAlex Rozenman <rozenman@gmail.com>
Sat, 4 Jul 2009 14:52:38 +0000 (17:52 +0300)
committerAlex Rozenman <rozenman@gmail.com>
Sat, 4 Jul 2009 18:26:20 +0000 (21:26 +0300)
commit872b52bc24b5590ac8bdec7db882cdbefc0ec3ff
treed832a13fdc68fe14d0d35a6d5b8b18d1827dd71a
parent83ea2423f54b6e1d4b69c2972ad7fcdeb7dbb0b2
Style changes and factoring.
* src/named-ref.h: Add comments.
* src/parse-gram.y: Readability and style changes.
* src/reader.c: Factoring: assign_named_ref function.
* src/scan-code.l: Factoring and style changes. Rename
parse_named_ref to parse_ref. Use "c-ctype.h" from gnulib.
Use "unsigned" type for variant index. Improve readablity.
* src/scan-gram.l: Change error messages and add comments.
* src/symlist.h: symbol_list_null: New function decl.
* src/symlist.c: symbol_list_null: Implement here.
* tests/named-refs.at: Adjust for new error messages.
ChangeLog
src/named-ref.h
src/parse-gram.y
src/reader.c
src/scan-code.l
src/scan-gram.l
src/symlist.c
src/symlist.h
tests/named-refs.at