carl
e8243402be
Move to use C structures instead of typedef to align with other ACK compilers and to avoid forward declaration issues with include files.
2019-05-11 01:09:03 +08:00
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
26b17074a1
Rationalised use of #includes to be more standards-compliant.
2006-07-26 17:10:30 +00:00
ceriel
efacd02ffd
Added LONGCARD as a local extension
1996-08-14 07:42:40 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
7d34ba62a7
Fix: MkCoercion did not handle error_type
1992-11-20 13:37:49 +00:00
ceriel
f4757c8370
fixed two possible null-references
1991-05-13 13:57:25 +00:00
ceriel
1da2103504
Delinted a bit
1991-04-25 16:47:47 +00:00
ceriel
5a53ba3f50
Several minor mods: simplifications and identifier name changes
1991-03-18 16:30:49 +00:00
ceriel
852601d0b5
minor mods
1991-03-14 13:16:32 +00:00
ceriel
5ebc2017a0
Do not use the allocation mechanism for the desig structure; overkill
1991-03-14 11:10:40 +00:00
ceriel
f7504dbd4b
Cleaned up a bit more
1991-03-13 17:26:07 +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
76d79cf17a
Added macro's for long selections
1991-03-06 10:52:34 +00:00
ceriel
b5c5f09b16
moved some static declarations that were illegal ANSI C
1991-02-19 12:44:38 +00:00
ceriel
39fee04619
fix previous fix
1990-06-11 15:17:50 +00:00
ceriel
bcf2aa511c
bug fix: casts of constants to a set type caused memory fault
1990-01-18 10:12:38 +00:00
ceriel
c3b3faf7a4
Added support for constant floating point expressions
1989-12-19 09:40: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
a1b4e28760
Added a local extension: procedure constants
1989-03-03 16:13:45 +00:00
ceriel
5252b760d9
handle intorcard_type better in case statements
1988-11-29 13:13:03 +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
3d044db749
improved error messages with opaque types
1988-06-09 11:39:11 +00:00
ceriel
2bbecf2416
better argument checking of standard functions
1988-04-26 10:14:01 +00:00
ceriel
9d3f9ea496
fixed a small problem with the 'symmetric' option; also fixed a
...
problem with Hex numbers
1988-04-19 14:40:27 +00:00
ceriel
1da83e161b
made to fit on PDP-11 again, and some other minor mods
1988-04-13 18:37:45 +00:00
ceriel
c8a728969d
some minor changes and a fix in pointer arithmetic
1988-04-06 18:14:50 +00:00
ceriel
7f9fd963fd
many minor mods
1988-03-23 17:44:25 +00:00
ceriel
759f4738ca
too many changes: some cosmetic; some for 2/4; some for added options
1988-03-21 16:36:31 +00:00
ceriel
d7d501d43a
made to fit on a PDP-11 again
1988-02-10 14:06:34 +00:00
ceriel
6217293e23
some fixes:
...
- always remove imports from definition modules
- minor improvement in error messages
1988-02-09 11:41:08 +00:00
ceriel
72e13f3a5a
Yet another fix. ChkUnOper can also be called with a COERCION operator,
...
when NEW and DISPOSE are expanded
1988-01-28 14:05:34 +00:00
ceriel
ad2d61154b
fixed some minor problems
1988-01-15 16:55:01 +00:00
ceriel
a61d36ff49
fixes and squeezing
1987-12-02 10:41:38 +00:00
ceriel
896fec3fc5
version with better overflow checking
1987-11-26 14:15:24 +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
4489526a11
fixed some minor problems
1987-11-09 16:11:04 +00:00
ceriel
e1a3a1c136
made to fit on a PDP-11
1987-11-09 10:17:20 +00:00
ceriel
b668810351
sets now allowed for all subranges
1987-10-28 16:03:56 +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
688567a532
fix in reference counts for sets
1987-10-20 13:32:18 +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
fc6a8c5aa8
some minor fixes
1987-10-14 12:34:47 +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