Olaf Seibert
184fae4b67
Generalise argument string parsing,
...
not just for .include. Manual shows various delimiters.
2015-05-08 12:35:57 +02:00
Olaf Seibert
f01ee85a8f
Allow whitespace before comma in two-general-operand instructions.
...
(it was allowed already in other cases such as SOB, JSR, ASH, ...).
2015-05-08 10:03:04 +02:00
Olaf Seibert
422285bb60
If a section is declared a second time, and flags...
...
are given, then they must be identical to the first time.
See page 6-38 of AA-KX10A-TC_PDP-11_MACRO-11_Reference_Manual_May88.pdf .
2015-05-08 02:09:03 +02:00
Olaf Seibert
4849f7f039
Reset dot in all sections. write_globals() only does it...
...
if there is an object file.
2015-05-08 02:03:23 +02:00
Olaf Seibert
3b6637f82d
Also add NOSAV flag to PSECT.
2015-05-08 00:41:18 +02:00
Olaf Seibert
6acf2971bd
Add the "COM" flag to PSECT/CSECT: opposite of OVR.
2015-05-08 00:28:25 +02:00
Olaf Seibert
98e782e41e
INCLUDE file names may have quotes around them.
2015-05-08 00:08:50 +02:00
Olaf Seibert
cf320a2e60
Fix use-after-free errors.
...
evaluate() would not-quite-copy the original tree, which often would
get freed afterward. Including the shared parts.
Also fixed the case where evaluate() would turn a EX_NEG node into an
EX_COM node.
2015-05-07 23:26:38 +02:00
Olaf Seibert
a5cc743cd6
Fix "-l -".
2015-05-07 21:39:50 +02:00
shattered
e35df877f9
Merge pull request #1 from qu1j0t3/master
...
Fix clang warnings and a couple of typos.
2015-02-10 21:44:06 +03:00
Toby Thain
6c388dcf54
Fix crashes when arguments aren't provided to options that expect them. Detect when an option might have been forgotten. Add some tests for required option arguments.
2015-02-03 22:07:58 -05:00
Toby Thain
e0dcdd467d
Add test for crash bug on undef macro.
2015-02-03 19:38:34 -05:00
Toby Thain
ea8ee367ee
Fix crash on OS X x86_64.
2015-02-03 19:35:03 -05:00
Toby Thain
48996a6627
Typo and one more warning.
2015-02-01 22:25:59 -05:00
Toby Thain
7ab53debb8
Fix some warnings under clang.
2015-02-01 22:11:54 -05:00
Sergey Svishchev
4ea315e2d2
Don't force CFLAGS. Rename makefile to Makefile.
2013-06-04 23:56:36 +04:00
Sergey Svishchev
8caea63b6a
XXX #define stricmp strcasecmp
2013-06-04 23:38:14 +04:00
Sergey Svishchev
49c393b896
Missed this
2013-02-16 15:49:01 +04:00
Sergey Svishchev
1d97d345c7
Remove github's autogenerated README
2013-02-15 23:54:41 +04:00
Sergey Svishchev
6a2afc3fa7
Import J Hoppe's 20090427 release from http://retrocmp.com/tools/macro-11-on-windows
2013-02-15 23:50:38 +04:00
Sergey Svishchev
3b8e141917
Initial import of 2001 code from http://www.dbit.com/pub/linux/macro11/
2013-02-15 23:44:59 +04:00
shattered
53b84e435f
Initial commit
2013-02-13 13:45:24 -08:00