Commit graph

34 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 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
ceriel 99ac23b4b4 Additions for non-correcting error recovery 1997-02-21 17:11:04 +00:00
ceriel 29a640446a Remove prototype idfs in casts! 1994-10-18 13:43:50 +00:00
ceriel 8636e9d10a Changed Header into Id 1994-06-27 08:03:14 +00:00
ceriel 60c44af82b Fixed problem with array's of incomplete types 1992-04-14 13:30:37 +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 ed4afc99f6 minor mods to parameters in grammar 1991-11-29 14:11:31 +00:00
ceriel 94b62ac792 Fixed typo 1991-10-17 16:36:54 +00:00
ceriel 82bad86ee6 a few minor fixes 1991-10-17 13:27:53 +00:00
ceriel da84cc69bc removed scan.c and fixed a bug: 'struct a;' is an empty decl if struct a is already known 1991-07-25 16:00:32 +00:00
ceriel 240dd55fd9 Removed the id_enum macro and replaced id_struct by id_tag (better name) 1991-07-08 16:49:04 +00:00
ceriel 42584ddcdb Fixed memory leak 1991-06-24 16:33:43 +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 a3f4cdefa3 Minor change: improved conflict resolver that tested for never happening case 1991-04-19 15:26:50 +00:00
ceriel de12536c94 fixed bug with struct/union/enum declarations 1991-04-18 12:27:58 +00:00
ceriel 3e16cf5116 Fix: prevent incorrect error messages 1991-03-26 09:45:20 +00:00
dick 495a037714 lint update (merge from C compiler) 1990-12-07 14:42:26 +00:00
eck d7c15759ee added warning about old-fashioned declarations
cleaned up error reporting
changed implicit declaration handling
1990-11-02 09:23:27 +00:00
eck c3f305bea1 fixed bug with undefined structs
ceriel changed debugging information
1990-10-19 11:21:43 +00:00
ceriel 4483f237f6 de-linted somewhat 1990-10-02 17:13:40 +00:00
ceriel 41e3cf403b Added support for debugger, de-linted somewhat 1990-10-01 15:28:28 +00:00
eck e144c7cc4c fixed bugs with prototype scopes 1990-09-12 16:36:16 +00:00
eck 2f0275ba3c added some optimalizations 1990-09-06 11:32:51 +00:00
eck 02ea4988d1 fixed problems with declaration syntax 1990-09-03 13:46:30 +00:00
eck 7f5abdd670 fixed int to unsigned conversions, declarations, pp-list initialization 1990-07-13 10:18:27 +00:00
eck 86501edf9e big fix: auto aggregate strings didn't work 1990-01-22 16:16:03 +00:00
eck 96da16ce33 fixed bugs, added dynamic buffer allocation to preprocessor 1989-11-22 13:58:36 +00:00
eck 8ff400fd0f squeezing for MINIX 1989-10-18 13:12:31 +00:00
eck 4bde31f78a minor changes concerning void and pre-processor 1989-09-29 16:20:38 +00:00
eck 00027d3893 some minor fixes, renamed ch7 stuff to ch3 1989-09-25 14:28:10 +00:00
eck fa4e6eecb4 lots and lots of changes & improvements 1989-09-19 16:13:23 +00:00
ceriel 0bc88b77b2 fixed several problems:
- hex numbers and floating point numbers were wrong
- grammar was wrong; did not accept correct ANSI C
- prototype updates did not work
- float parameters to routines without prototype were not upgraded to double
- the dot operator no longer requires lvalue as left-hand-side
1989-02-07 13:16:02 +00:00
ceriel 926da49d39 Initial revision 1989-02-07 11:04:05 +00:00