(YACC): flag added to c_ext.
authorRichard M. Stallman <rms@gnu.org>
Mon, 22 Mar 1993 23:13:10 +0000 (23:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 22 Mar 1993 23:13:10 +0000 (23:13 +0000)
commit13fde0cd78af1a6d4e75fff229a23ac9f6940ddf
tree499ad85c226837d0d4fa751184f0896dbd2df2ef
parentcf597dc8abde324d51fa206d0adb54e4b11bc33c
(YACC): flag added to c_ext.
(c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
(find_entries): consistently use streq when reasonable.
(find_entries): a .y file is a yacc file.
(get_C_stab): c_ext becomes c_ext&C_PLPL.
(C_entries): logical cplpl means c_ext&C_PLPL.
(C_entries): logical yacc_rules means we are after the first %%.
(C_entries): added logic for yacc files.

(C_entries): ':' case moved to the second switch.
(C_entries): do not examine token if structdef==scolonseen.
(consider_token): structtag set to null string for enum.

(GET_COOKIE): and related macros removed.
(logical): is now int, no more a char.
(reg): define deleted.
(isgood, _gd, notgd): deleted.
(gotone): deleted.
(TOKEN): member linestart removed.
(linepos, prev_linepos, lb1): deleted.
(main): call initbuffer on lbs array instead of lb1.
(init): removed the initialisation of the logical _gd array;
(find_entries): a .sa suffix means assembler file.
(C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
All C state machines rewritten.
(C_entries): complete rewrite.
(condider_token): complete rewrite.
(getline): deleted.

(C_entries): Added the quotednl logical variable.
Used for parsing of #define's spanning multiple lines.

(C_entries): Save the definedef status even when a
newline is met inside a string.
lib-src/etags.c