Commit graph

20 commits

Author SHA1 Message Date
carl 750a6bc684 Better ANSI C compatibility and portability:
+ Addition of function prototypes and include files.
+ Change function definitions to ANSI C style.
+ Initial support for CMake
+ Scripts to generate compiler header is now sed based.
2019-02-19 00:54:23 +08:00
David Given cb983fac44 Rip out the built-in preprocessor from cemcom.ansi, now it's no longer used. 2018-09-02 12:50:50 +02:00
David Given 863b610144 Fix use-after-free. 2016-03-17 20:52:27 +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 014be56fb0 Replaced calls to the custom strindex() and strrindex() functions with the
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +00:00
dtrg e859ef2491 Rationalised use of #includes to be more standards-compliant. 2006-07-19 10:28:43 +00:00
ceriel bcb4a75630 free WorkingDir only if including cpp 1995-03-24 13:56:20 +00:00
ceriel 8636e9d10a Changed Header into Id 1994-06-27 08:03:14 +00:00
ceriel 2006278a52 A fix for stabs, and define NDEBUG 1993-10-22 14:24:31 +00:00
ceriel 5092c4ece3 Don't free filenames when lint 1993-06-04 10:30:16 +00:00
ceriel 439ec389a0 found some small leaks with Purify 1993-01-18 15:10:01 +00:00
ceriel 55131b091f fixed bug: qualified type introduction within structure decl 1992-12-22 15:29:56 +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
eck b4f97588b7 fixed bug with undefined structs
ceriel changed debugging information
1990-10-19 11:50:32 +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 10b58a8520 The InputLevel variable only exists when NOPP is not defined 1989-10-12 14:22: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 f7790b0e8e empty string in directory list now means current directory 1989-02-16 11:46:39 +00:00
ceriel 926da49d39 Initial revision 1989-02-07 11:04:05 +00:00