ack/mach/proto/as
George Koehler ac4cbd735e Use libc assert(); fix dependencies; unbreak isduo().
Switch from custom assert() to libc assert() in mach/proto/as.
Continue to disable asserts if DEBUG == 0.

This change found a problem in the build system; comm2.y was missing
depedencies on comm0.h and comm1.h.  Add the missing dependencies to
the cppfile rule.  Allow the dependencies by modifying cppfile in
first/build.lua to act like cfile if t.dir is false.

Now that comm2.y gets rebuilt, I must fix the wrong prototype of
yyparse() in comm1.h.

I got unlucky as induo() in comm5.c was reading beyond the end of the
array.  It found an operator "= " ('=' then space) in the garbage, so
it returned a garbage token number, and "VAR = 123" became a syntax
error.  Unbreak induo() by terminating the array.
2017-11-11 16:09:05 -05:00
..
build.lua Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm0.h Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm1.h Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm2.y Header --> Id 1994-06-24 14:02:31 +00:00
comm3.c Use relocation enumerations rather than hard-coded values for relocation types 2013-05-29 14:11:04 +01:00
comm4.c Add more prototypes in mach/proto/as 2017-11-10 23:30:46 -05:00
comm5.c Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm6.c Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm7.c Use libc assert(); fix dependencies; unbreak isduo(). 2017-11-11 16:09:05 -05:00
comm8.c Header --> Id 1994-06-24 14:02:31 +00:00
proto.make Header --> Id 1994-06-24 14:02:31 +00:00