File: changes-0.0.4

package info (click to toggle)
gpasm 0.0.7-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 536 kB
  • ctags: 310
  • sloc: ansic: 2,011; perl: 1,330; yacc: 368; lex: 331; sh: 152; makefile: 34
file content (26 lines) | stat: -rw-r--r-- 944 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Second invocation of macro actually runs the macro twice, so local
forward definitions get resolved correctly.  This means that macro
bodies get 3 passes made on them.  Far from pretty, but it does the
job.  See execute_macro(), and new function execute_body().

Restore cblock value to 0 at start of 2nd pass.

Accept CBLOCK headers without an expression: continues at previous
CBLOCK value.  See gpasm.y.

Accept CBLOCK values as labels, with or without an expression.  See gpasm.y.

Do #define substitution.  Done in the lexical analyser, using the same
stack that we use for include files.  Still no support for parameters
in #define.  See scan.l.

Evaluate '$' late, instead of at parse time.

Missing parameter to bit operations was giving coredump instead of
error message.

Makefile now builds with "gcc -Wall --pedantic", had a general cleanup
following this.

Small fix to lexical analyser to make it cope with MSDOS '\r'
characters.