Commit graph

70 commits

Author SHA1 Message Date
carl 3867cfdaca + M2 Compiler ISO C90 compatibility
* Fixing of potential crash issue with function tables in compiler.
+ SYSTEM.h is now renamed to SYSTEMM2.h to avoid conflicts on non case sensitive filesystems.
2019-03-02 01:44:16 +08: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 f6c43b95ef Modula-2 now works.
--HG--
branch : dtrg-buildsystem
rename : lang/pc/build.mk => lang/m2/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/comp/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/libm2/build.mk
2013-05-14 22:24:38 +01:00
dtrg 45b4fef7d6 Rationalised use of #includes to be more standards-compliant. 2006-07-30 23:40:35 +00:00
ceriel a0bd098f98 Fix: got into infinite loop 1995-05-02 12:23:28 +00:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel c89c0d2c01 Changed debugging information to also work for Solaris 2 1993-11-10 12:44:24 +00:00
ceriel 5a53ba3f50 Several minor mods: simplifications and identifier name changes 1991-03-18 16:30:49 +00:00
ceriel 52842cd09a Cleaned up a bit 1991-03-13 13:49:56 +00:00
ceriel 0a517b9256 Changes to make node structure smaller, and cleaned up a bit 1991-03-12 16:52:00 +00:00
ceriel c40ca6ebbd Made ability for -g dependant on compile-time flag 1991-02-18 17:18:36 +00:00
ceriel 8eecdff85a added support for debugger 1990-07-30 15:56:25 +00:00
ceriel f9b6acf1dc New version with different parameter passing mechanism and some
minor fixes
1989-03-20 13:32:06 +00:00
ceriel c81a6a0c7a better warnings for unused/undefined parameters 1989-03-13 15:04:05 +00:00
ceriel fb88f5dbdd fixed problem with importing enumeration literals 1989-02-08 10:24:10 +00:00
ceriel f1245e2e00 fixed some problems:
- removed null-reference in illegal use of pointers in constant expressions
- FOR-loops that count downwards did not work
- POINTER TO mechanism changed; works better now
1988-11-15 14:45:59 +00:00
ceriel afc4d5211b made to fit on PDP-11 ... 1988-07-05 19:06:40 +00:00
ceriel 74c779b81e mods to handle forward references better 1988-06-30 14:50:30 +00:00
ceriel fa9e4c5ea3 corrected minor problem 1988-06-30 09:19:06 +00:00
ceriel 7f9fd963fd many minor mods 1988-03-23 17:44:25 +00:00
ceriel 795a078d08 too many changes: some cosmetic; some for 2/4; some for added options 1988-03-21 17:22:26 +00:00
ceriel d7d501d43a made to fit on a PDP-11 again 1988-02-10 14:06:34 +00:00
ceriel 3627b9a16c added use checking for types and constants, improved overflow checking 1987-11-27 14:24:46 +00:00
ceriel 603c65950c Fixed some problems:
files that use the em_code module must include the em_code.h file
improved checking of definitions after use
fixed problem with ranges in case statements
1987-11-11 13:10:08 +00:00
ceriel d80b501829 Fixed some problems, and improved range-checking 1987-10-28 11:10:30 +00:00
ceriel 04f0550f1d do not warn about not using a type-identifier that indicates
an enumeration type and is imported, because its enumeration literals
might be used
1987-10-27 09:45:27 +00:00
ceriel 015e1b776e Some corrections and additions to improve the mechanism for
generating warnings on unused/uninitialized variables
1987-10-21 11:29:52 +00:00
ceriel 503edee161 New version, with an option for strict Modula-2, and
warnings for unused or uninitialized variables
1987-10-19 11:28:37 +00:00
ceriel c5674041bf Some minor mods and a bug fix with type transfer functions 1987-09-24 13:07:31 +00:00
ceriel fd817d4dbc Minor adaptions in order to reduce the size 1987-09-23 16:39:43 +00:00
ceriel 51169956dc some more fixes, and tried to make smaller 1987-08-10 21:43:47 +00:00
ceriel 0e397f09f3 many changes; some cosmetic; coercions now explicit in tree 1987-07-30 13:37:39 +00:00
ceriel 0bffe65c24 some more fixes 1987-07-22 10:59:24 +00:00
ceriel e04230a126 bug fixes, name changes 1987-07-16 19:51:40 +00:00
ceriel efafb68f00 - fixes: improved POINTER TO IDENT mechanism, prevent core dump when
definition module not found, corrected typo.
- changed mechanism for variables that have their address given.
- added option for symmetric integer ranges
1987-06-29 12:46:00 +00:00
ceriel ed2d6ab75b some changes to make smaller 1987-05-21 09:37:28 +00:00
ceriel fbc0415761 make to work on sun, added copyright, etc 1987-04-29 10:22:07 +00:00
ceriel c57d4ff268 some minor bug fixes 1986-12-01 10:06:53 +00:00
ceriel a0c21bf820 many bug fixes, and added flexibility in alignments 1986-11-28 11:59:08 +00:00
ceriel 9d0ee46068 Trying to check more of an expression, giving some more sophisticated error messages,and be less wasteful with space for subranges 1986-11-17 11:41:28 +00:00
ceriel 9291d87dab Several bug fixes 1986-11-05 14:33:00 +00:00
ceriel ca44bfc681 newer version with some bug fixes 1986-10-22 15:38:24 +00:00
ceriel 3030eb8cae newer version 1986-10-06 20:36:30 +00:00
ceriel c3d4d40d1b many bug fixes 1986-09-25 19:39:06 +00:00
ceriel a0db745586 newer version with bug fixes 1986-08-26 14:33:24 +00:00
ceriel 965e75761d newer version 1986-07-08 14:59:02 +00:00
ceriel a9dfdc494b newer version 1986-06-17 12:04:05 +00:00
ceriel ec528b797e newer version 1986-06-10 13:18:52 +00:00
ceriel caf99ea472 newer version 1986-06-06 02:22:09 +00:00
ceriel db795bc07a newer version 1986-05-30 18:48:00 +00:00