George Koehler
3463f0c944
bts2str(), long2str() are in <ack_string.h>
2017-11-10 18:00:00 -05:00
George Koehler
ca4bd38206
Delete old "assert.h" files; use libc <assert.h>.
...
Edit build.lua for programs losing their private assert.h, so they
depend on a list of .h files excluding assert.h.
Remove modules/src/assert; it would be a dependency of cpp.ansi but we
didn't build it, so cpp.ansi uses the libc assert.
I hope that libc <assert.h> can better report failed assertions. Some
old "assert.h" files didn't report the expression. Some reported a
literal "x", because traditional C expanded the macro parameter x in
"x", but ANSI C89 doesn't expand macro parameters in string literals.
2017-11-09 22:22:13 -05:00
David Given
3e69d1185a
Fix a whole lot more stray prototypes.
2016-11-24 21:47:40 +01:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
David Given
c1aca7dae5
First milestone of replacing the build system.
...
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00
dtrg
e859ef2491
Rationalised use of #includes to be more standards-compliant.
2006-07-19 10:28:43 +00:00
ceriel
91cb060d10
Replaced a couple of UnGetChar calls with ChPushBack calls. The
...
UnGetChar call is wrong after skipspaces().
1998-02-09 09:49:00 +00:00
ceriel
8636e9d10a
Changed Header into Id
1994-06-27 08:03:14 +00:00
ceriel
b8b3054bba
Fix: prevent unintentional token pasting
1994-03-01 15:04:52 +00:00
ceriel
e9a4337ccf
Fixed problem with missed unstacks
1993-03-30 09:41:00 +00:00
ceriel
a38be6605e
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 13:12:22 +00:00
ceriel
9f43986877
ANSI requires separate name space for labels, and made to use idf module
1991-06-19 16:12:56 +00:00
ceriel
dab38becd4
Fixed preprocessor problem with empty macro bodies
1991-02-21 12:08:13 +00:00
ceriel
24dd6b4cb5
Fixed problem with multiple TOKSEP's
1991-02-18 15:50:39 +00:00
eck
7536a1f510
fixed two preprocessing bugs
1990-11-13 16:50:55 +00:00
ceriel
41e3cf403b
Added support for debugger, de-linted somewhat
1990-10-01 15:28:28 +00:00
eck
5eb4a8d88f
oops, fix for ## operator was wrong
1990-09-25 13:46:59 +00:00
eck
5ed44e3432
fixed error with # && ##-operators in non function-like macro's
...
pass printable garbage characters on to parser
1990-09-13 15:12:13 +00:00
eck
dc12b2fa3d
warn about ptrdiff_t passed as long on 2-4 machines
1990-04-25 15:09:51 +00:00
eck
721005b4d7
big fix for #include in macro argument
1990-01-26 14:59:50 +00:00
eck
c4e0fddf5b
MINIX squeezing with strings, fixed small preprocessor bug
1990-01-16 15:21:15 +00:00
eck
671556cfc4
improved type-checking, fixed preprocessor bug, fixed syntax bug
1989-11-27 11:37:11 +00:00
eck
96da16ce33
fixed bugs, added dynamic buffer allocation to preprocessor
1989-11-22 13:58:36 +00:00
ceriel
67f9f2a74f
many little changes: removed some lint complaints; max_int and max_unsigned
...
are now constants if NOCROSS is defined; added lexstrict and expr_strict,
and changed calls where needed
1989-11-08 16:52:34 +00:00
ceriel
0f8516f861
use more simple hashing algorithm, made namelist generation dependant on a #define
1989-10-26 16:16:35 +00:00
eck
4bde31f78a
minor changes concerning void and pre-processor
1989-09-29 16:20:38 +00:00
eck
fa4e6eecb4
lots and lots of changes & improvements
1989-09-19 16:13:23 +00:00
ceriel
926da49d39
Initial revision
1989-02-07 11:04:05 +00:00