ceriel
629d6ff548
output of id.c was wrong
1988-01-12 15:56:42 +00:00
ceriel
5c232baf2f
prevent a voluntary crash and generate better code
1988-01-11 14:06:20 +00:00
ceriel
cb22dd8e6a
Added a test for casts
1987-12-04 12:53:18 +00:00
ceriel
913ee40148
changed typing of constants, to be more compatible with PCC
...
and future standard
1987-12-03 11:12:02 +00:00
ceriel
713f37ce72
fixes and squeezing
1987-12-02 10:41:38 +00:00
ceriel
67e38128bd
added use checking for types and constants, improved overflow checking
1987-11-27 14:24:46 +00:00
ceriel
948d614622
version with better overflow checking
1987-11-27 14:13:11 +00:00
ceriel
1994d67d9e
version with better overflow checking
1987-11-26 14:15:24 +00:00
ceriel
162a73e1e2
check number of locals and parameters
1987-11-24 14:21:35 +00:00
ceriel
154417864b
do not allow reals as case labels, check size of array's
1987-11-24 13:22:04 +00:00
ceriel
b1482d9a9f
fixed a bug: casts to short or char did not work right
1987-11-23 13:48:09 +00:00
ceriel
dd899c79a1
%[...] did not work
1987-11-20 12:57:51 +00:00
ceriel
bbf3f6e1be
Fixed bug: subranges of subranges did not work right
1987-11-17 14:29:14 +00:00
ceriel
fa4a1f9f93
generate CSA for empty case statement, replaced an #ifdef that was on the wrong spot
1987-11-13 16:21:33 +00:00
ceriel
543801cbb6
generate CSA for empty case statement
1987-11-13 16:19:51 +00:00
ceriel
3e2901088f
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
44f951d4aa
fixed some minor problems
1987-11-09 16:11:04 +00:00
ceriel
620eb02a04
changed mechanism for for-loop checking, added some trap numbers
1987-11-09 11:36:45 +00:00
ceriel
88764ecc1a
Added mechanism for non-cross compiler (yet another way of squeezing it onto
...
a PDP-11
1987-11-09 11:29:48 +00:00
ceriel
f4c6ec0624
made to fit on a PDP-11
1987-11-09 10:17:20 +00:00
ceriel
ae27ee29f6
print initializer expression before call to code_declaration
1987-11-04 16:30:02 +00:00
ceriel
f6188debb6
fixed some minor problems with copying conformant arrays,
...
and a LB that pointed below SP in transfer
1987-11-03 15:04:21 +00:00
ceriel
9ac44925f8
fixed some minor problems
1987-11-03 12:44:09 +00:00
ceriel
1754a3d4a4
fixed some minor problems
1987-11-02 17:59:18 +00:00
ceriel
8ef0733316
deleted debugging writes
1987-11-02 11:25:13 +00:00
ceriel
61157765c3
changed trap messages somewhat, corrected bug in InOut, undone changes
...
to confarray.c
1987-11-02 11:22:06 +00:00
ceriel
a6d8a961d6
Added handling of cardinal overflow
1987-10-30 18:32:14 +00:00
ceriel
042d501cf5
Now detects use before declaration, f.i. in
...
VAR k: REAL;
REAL : INTEGER;
1987-10-30 09:19:23 +00:00
ceriel
93466fbf69
sets now allowed for all subranges
1987-10-28 16:10:02 +00:00
ceriel
8fa3fa95bb
sets now allowed for all subranges
1987-10-28 16:03:56 +00:00
ceriel
148a294a31
Fixed some problems, and improved range-checking
1987-10-28 11:10:30 +00:00
ceriel
71469a23d4
Added new files to do range checks
1987-10-27 11:55:59 +00:00
ceriel
9f97bc2e7e
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
b99ed76626
fixed for very large numbers
1987-10-22 15:26:36 +00:00
ceriel
a30185cbeb
increased buffer size
1987-10-22 14:07:54 +00:00
ceriel
a3cc42780c
replace 10 by 10.0, so that the conversion is not done at runtime
1987-10-22 13:58:48 +00:00
ceriel
70e30790ea
increased buffer size, check for end
1987-10-22 13:35:05 +00:00
ceriel
3a9956cb5d
removed some IMPORTS that were never used
1987-10-21 11:49:14 +00:00
ceriel
8ddea7afe0
Some corrections and additions to improve the mechanism for
...
generating warnings on unused/uninitialized variables
1987-10-21 11:29:52 +00:00
ceriel
895679e24e
fix in reference counts for sets
1987-10-20 13:32:18 +00:00
ceriel
6dc819dd38
fixed some problems: ADS was generated with size > pointer_size;
...
some (most) backends dont implement that.
Unstacking of macros did not quite work properly, but I dont know why
1987-10-20 09:36:34 +00:00
ceriel
1082e61bd7
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
9ac801e16c
some fixes
1987-10-19 10:06:24 +00:00
ceriel
82589bcfc2
replaced calls to NEW by calls to ALLOCATE
1987-10-15 15:41:00 +00:00
ceriel
5cdd696646
Some minor adaptions
1987-10-15 12:59:03 +00:00
ceriel
498cab0c3a
next version
1987-10-14 12:38:01 +00:00
ceriel
ab7d7a0185
some minor fixes
1987-10-14 12:34:47 +00:00
ceriel
faa22c0da8
improved previous fix
1987-10-05 16:17:51 +00:00
ceriel
34a7f6a008
new version for distr
1987-10-05 15:52:02 +00:00
ceriel
12b5b65f9e
fixed a problem with procedures imported from other modules but not
...
declared in their definition modules
1987-10-05 15:41:30 +00:00