Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [r864] Maximize Restore History

* Merge from preprocessor branch:

- gpasm/util.c, gpasm/parse.y, gpasm/directive.c, gpasm/gpasm.h.in,
gpasm/scan.l:
use IN_MACRO_DEFINITION, IN_MACRO_EXPANSION, IN_WHILE_EXPANSION and
IN_FILE_EXPANSION defines
- gpasm/gpasm.c: reinitialize macro symbol table before second pass
- gpasm/parse.y: corrected identation
- gpasm/scan.l: evaluate macro parameters as comma delimited literal
symbols - identifiers
- gpasm/macro.c: get rid of now unneeded functions node_to_string(),
cat_symbol() and cat_string()
- gpasm/preprocess.c, gpasm/preprocess.h, gpasm/scan.l,
gpasm/ppscan.l, gpasm/ppparse.y: redesigned to handle recursive #v
- gpasm/macro.c, gpasm/preprocess.c, gpasm/preprocess.h,
gpasm/gpasm.c, gpasm/gpasm.h.in, gpasm/scan.l:
separate preprocessing step for macro parameters
- gpasm/ppscan.l: inner #v handling
- gpasm/parse.y, gpasm/directive.c, gpasm/evaluate.c, gpasm/evaluate.h:
removed concatenation functionality
- gpasm/lst.c, gpasm/lst.h, gpasm/gpasm.c: list / sort all symbols,
defines and macros
- gpasm/macro.c: removed concatenation functionality
- gpasm/Makefile.am, gpasm/Makefile.in, ppcan.l, ppparse.y:
added ppcan.l and ppparse.y to the project: #v evaluation moved to
the preprocessor
- evaluate.c: fixed list_length() for cases where tail of the list is
not a list; removed concatenation functionality, MPASM(X) compatible
shift operations in mpasm compatibility mode
- preprocess.c, gpasm/preprocess.h, gpasm/scan.l, gpasm/parse.y:
#v evaluation moved to the preprocessor
- gpasm.h.in: introduced IN_MACRO_DEFINITION, IN_MACRO_EXPANSION,
IN_WHILE_EXPANSION and IN_FILE_EXPANSION macros
- gpasm/preprocess.c: preprocessing defines called as macros -
without parentheses around argumets
- gpasm/gpasm.h.in, gpasm/scan.l, gpasm/parse.y, gpasm/macro.c,
gpasm/macro.h: implemented enhancement request
#16 - "macro argument expansion in lists": expanded macros contain
actual macro args instead of formal parameters.
- gpasm/scan.l: removed unused code
- gpasm/preprocess.c: recursive call preprocess()
- gpasm/preprocess.c, gpasm/scan.l: #define preprocessing
- gpasm/Makefile.am, gpasm/Makefile.in, gpasm/preprocess.c,
gpasm/preprocess.h, gpasm/scan.l, gpasm/parse.y, gpasm/macro.c,
gpasm/lst.c, gpasm/gpasm.c, gpasm/directive.c, gpasm/gpasm.h.in:
#define preprocessing performed before tokenization

borutr 2012-10-31

added /trunk/gputils/gpasm/preprocess.c
added /trunk/gputils/gpasm/preprocess.h
added /trunk/gputils/gpasm/ppscan.l
added /trunk/gputils/gpasm/ppparse.y
changed /trunk/gputils/gpasm/directive.c
changed /trunk/gputils/gpasm/gpasm.h.in
changed /trunk/gputils/gpasm/Makefile.am
changed /trunk/gputils/gpasm/scan.l
changed /trunk/gputils/ChangeLog
changed /trunk/gputils/gpasm/parse.y
changed /trunk/gputils/gpasm/macro.c
changed /trunk/gputils/gpasm/Makefile.in
changed /trunk/gputils/gpasm/lst.c
changed /trunk/gputils/gpasm/evaluate.c
changed /trunk/gputils/gpasm/gpasm.c
changed /trunk/gputils/gpasm/evaluate.h
changed /trunk/gputils/gpasm/util.c
/trunk/gputils/gpasm/preprocess.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/preprocess.h Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/ppscan.l Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/ppparse.y Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/directive.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/gpasm.h.in Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/scan.l Diff Switch to side-by-side view
Loading...
/trunk/gputils/ChangeLog Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/parse.y Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/macro.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/Makefile.in Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/lst.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/evaluate.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/gpasm.c Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/evaluate.h Diff Switch to side-by-side view
Loading...
/trunk/gputils/gpasm/util.c Diff Switch to side-by-side view
Loading...