path: root/src/parser.h
AgeCommit message (Collapse)AuthorFiles
2021-01-06Update copyright yearsSergey Poznyakoff1
2019-02-10Fix processing of typedef struct and struct declarations. Fix --xref mode.Sergey Poznyakoff1
Some constucts were processed incorrectly (see typedef.at for examples). Unit-local types were not displayed in xref mode. * src/cflow.h (symbol_temp): Rename to symbol_temp. All uses changed. * src/output.c (tree_output): In all_functions mode: print all functions without explicit caller. * src/parser.c (save_token): Process curly braces. (fake_struct): Don't restore stack upon encountering identifier or modifier. See typedef.at for testcases. (parse_variable_declaration): restore stack only if type_end is -1 (no tag encountered). See struct06 in struct.at (skip_struct): Minor change. * src/parser.h: Redefine token types as enum. * src/symbol.c (unit_local_list): New static. (static_free): Preserve unit-local symbols in unit_local_list in xref mode. (collect_symbols): Consider symbols from unit_local_list. * tests/Makefile.am: Add new testcases. * tests/testsuite.at (CFLOW_TEST): New macro. Include new testcases. * tests/struct.at: New file. * tests/typedef.at: New file. * tests/struct01.at: Remove. * tests/struct02.at: Remove. * tests/struct03.at: Remove. * tests/struct04.at: Remove. * .gitignore: Update.
2019-02-08Update copyright statementsSergey Poznyakoff1
2017-01-02Happy GNU YearSergey Poznyakoff1
2016-03-22Update copyright yearsSergey Poznyakoff1
2015-03-02Update copyright yearsSergey Poznyakoff1
2014-02-07Update copyright statements. Remove 'Front-Cover' clause from cflow.texiSergey Poznyakoff1
2011-10-09Accept qualifiers before declarations.Sergey Poznyakoff1
* src/c.l: Handle "inline" keyword. * src/main.c (symbol_optype): Add "qualifier". * src/parser.c (print_token): Correctly handle PARM_WRAPPER and STRING. (save_token): Handle QUALIFIER. In verbose mode, warn about unexpected symbols. (yyparse): Handle QUALIFIER and PARM_WRAPPER. * src/parser.h (QUALIFIER): New define.
2010-01-02Update copyright years.Sergey Poznyakoff1
Happy GNU Year!
2007-06-27Relicense under GPLv3Sergey Poznyakoff1
2005-05-18Changed FSF postal addressSergey Poznyakoff1
2005-03-22(canonical_filename): New globalSergey Poznyakoff1
2005-03-19(yylex): PrototypeSergey Poznyakoff1
1999-03-31*** empty log message ***Sergey Poznyakoff1
1999-03-29Initial revisionSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.