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
dick
ba7100a4c2
wrong Makefile committed at 1.209
1989-11-07 13:04:39 +00:00
ceriel
3dc49877a5
Made suitable for fast compiler version
1989-11-06 16:01:13 +00:00
eck
6e551adf21
fixed some more bugs
1989-11-03 10:36:56 +00:00
dick
787904f82c
restrained error messages for lint + misc.
1989-11-02 18:17:59 +00:00
ceriel
2db075ab69
fixed memory fault, adapted mechanism code_scope
1989-11-01 15:41:06 +00:00
eck
7a18c01a7c
relaxed typechecking a little bit
1989-10-31 10:48:20 +00:00
eck
bdbbf32404
fixed bug, added -o option
1989-10-31 10:02:48 +00:00
ceriel
046d5b38a9
use varargs.h
1989-10-30 17:51:31 +00:00
dick
a817264e90
better (more restrained) error reporting
1989-10-30 16:19:35 +00:00
ceriel
8cb76d3ed8
fix to for-loop code was wrong; fixed again
1989-10-30 15:45:43 +00:00
eck
480de7cafb
fixed some bugs, changed warning interface
1989-10-27 13:33:10 +00:00
ceriel
0f8516f861
use more simple hashing algorithm, made namelist generation dependant on a #define
1989-10-26 16:16:35 +00:00
ceriel
44ff24f085
Also recognize 'defined' without parentheses
1989-10-25 14:23:08 +00:00
ceriel
35586d769a
DEFDIR fix
1989-10-25 13:37:26 +00:00
ceriel
80cb794116
Added mechanism to change default directory
1989-10-24 16:54:55 +00:00
eck
d186cb605f
removed bug for identifiers starting with L
1989-10-24 15:06:23 +00:00
eck
9286928275
improved domacro when NOPP defined
1989-10-24 15:02:02 +00:00
eck
1ce56a4e78
renamed nccp.6 to ncpp.6
1989-10-24 10:18:45 +00:00
ceriel
44b74a6c84
fixed for minix, which does not have ftime
1989-10-24 10:04:35 +00:00
eck
dfb4d0c576
deleted } in arith.c
1989-10-23 14:39:33 +00:00
ceriel
4a5a463e44
improved handling of , (comma) operator and some more Minix squeezing
1989-10-23 13:50:27 +00:00
ceriel
788788edc0
improvements for the , (comma) operator
1989-10-23 13:45:19 +00:00
eck
741b43044d
renamed ch7xxx to ch3xxx
1989-10-23 13:00:35 +00:00
eck
1d37165575
Initial revision
1989-10-23 10:35:56 +00:00
ceriel
cf3bcb5e63
Added routine to evaluate operands of binary operator
1989-10-20 17:08:48 +00:00
ceriel
352c5c581b
some more Minix squeezing
1989-10-20 16:16:06 +00:00
eck
b6a7d4fa0f
Minix again
1989-10-20 13:06:10 +00:00
ceriel
d6fa6357f2
some more Minix squeezing
1989-10-20 11:58:37 +00:00
ceriel
3d5569183e
some more squeezing for Minix
1989-10-19 19:29:39 +00:00
ceriel
e4857c2446
many minor modifications (it still will not fit on Minix!)
1989-10-19 14:53:25 +00:00
eck
8ff400fd0f
squeezing for MINIX
1989-10-18 13:12:31 +00:00
ceriel
84297d3460
parameterize back library name (needed for SUN)
1989-10-18 12:36:28 +00:00
ceriel
b4504c0f73
parameterize back library name (needed for SUN)
1989-10-18 11:51:12 +00:00
ceriel
9c403e7299
Added mechanism to make peephole optimizer version bigger (needed for SUN-3)
1989-10-18 11:39:19 +00:00
eck
46fb868503
introduced TABGEN variable
1989-10-17 11:35:13 +00:00
eck
aa2bfa7738
adjusted sources for NOPP
1989-10-16 12:38:25 +00:00
eck
fd259c398c
fltcstoper.c addded to Repository
1989-10-13 11:04:42 +00:00
ceriel
257b4847bf
Added mechanism for generating fast compilers
1989-10-13 10:48:07 +00:00
ceriel
654715cf8a
Added mechanism for generating fast compilers
1989-10-13 09:59:54 +00:00
ceriel
155d41c3e0
Added mechanism for generating fast compilers
1989-10-13 09:25:21 +00:00
ceriel
10b58a8520
The InputLevel variable only exists when NOPP is not defined
1989-10-12 14:22:35 +00:00
ceriel
b9bb251d60
fixed wrong code for for-loop
1989-10-12 11:10:48 +00:00
dick
2364f3f6b0
some small corrections in the lint part
1989-10-10 11:21:55 +00:00
ceriel
8c9c04b549
fix to bitfield code: contained non-portable shift
1989-10-09 13:42:39 +00:00
dick
6ea0fa77db
varargs in panic()
1989-10-04 16:04:02 +00:00
dick
d75369dd40
better error reporting
1989-10-04 15:36:56 +00:00
dick
53fe78afae
correction lint.1
1989-10-04 15:33:49 +00:00
ceriel
0a9017bae1
if to be preprocessed, # should be the first character
1989-10-04 15:18:12 +00:00
ceriel
008a907894
makefile removed, was path-dependant
1989-10-03 16:31:29 +00:00
eck
4bde31f78a
minor changes concerning void and pre-processor
1989-09-29 16:20:38 +00:00
eck
26cc87efe6
improved parameters
1989-09-29 15:46:33 +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
73246f3824
Improved checks for conversion between cardinal and integer
1989-08-21 17:08:54 +00:00
ceriel
e52091ea7c
Added l_comment.h to .distr file, fixed problem with #
...
occurring between macro name and arguments
1989-08-21 10:58:24 +00:00
ceriel
d277946286
changed name of some identifiers to more accurately represent their
...
meaning, and fixed a problem with sometimes not detecting overflow in
constants
1989-08-08 09:11:32 +00:00
ceriel
b1347283b9
Added warning for initializer of formal parameter (the syntax allows this!)
1989-08-02 11:26:51 +00:00
ceriel
47955d174e
fixed typo
1989-08-02 09:47:27 +00:00
ceriel
5f35d0c644
fixed behaviour on too long floating point constants
1989-07-26 11:16:59 +00:00
ceriel
90101c0dec
Added ext_comp.c
1989-07-26 11:08:24 +00:00
ceriel
52a8f7d1f1
needed ldexp routine for exp.c
1989-07-19 14:51:19 +00:00
ceriel
c09e4ced7e
main.old is not always present, so ignore exit status of 'size main.old'
1989-07-19 14:27:19 +00:00
ceriel
228fe4b4d0
undef PASS_BIG_VAL_AS_VAR for now; it does not work properly in all cases
1989-07-17 15:37:04 +00:00
ceriel
09a52b8cf2
fixed a problem with recursive macros: this was not always detected
1989-07-14 09:51:02 +00:00
ceriel
347197573b
made to compile, added proper cast
1989-07-11 12:48:40 +00:00
ceriel
1b08effa77
Added some %persistents, improved behaviour of preprocessor, and other
...
minor mods
1989-07-11 12:34:38 +00:00
ceriel
7d131a2cd5
fix: did not work when called from different directory
1989-06-29 11:03:23 +00:00
eck
27d7d5ed68
various fixes and improvements
1989-06-26 10:37:05 +00:00
ceriel
11349c78cd
use better algorithms for some mathematical functions
1989-06-20 13:10:32 +00:00
ceriel
6d78cd6710
bug fix: printed some reals wrong
1989-06-20 11:43:01 +00:00
ceriel
9e151cf706
Added routines to read and write LONGREALS
1989-06-20 11:23:43 +00:00
ceriel
761312d0dd
use new math algorithms
1989-06-19 16:22:23 +00:00
ceriel
8b702734cf
use new math routines
1989-06-19 15:56:30 +00:00
ceriel
d4389da709
initialize variable inheader
1989-06-19 11:31:22 +00:00
ceriel
197f5bc796
generated with newer makefile generator
1989-06-19 11:30:37 +00:00
ceriel
b11e382851
some minor corrections
1989-06-19 09:56:16 +00:00
ceriel
3824cfd66d
fixed some leapyear problems
1989-06-19 09:50:38 +00:00
ceriel
96a52f7a6f
fixed exit status of test program
1989-06-19 09:49:22 +00:00
ceriel
eee6d61c7b
improved Makefile, fixed writes: a field width of 0 is not standard
1989-06-15 19:11:01 +00:00
ceriel
b1c3d1bc53
fixed problem with void returns and changed a warning somewhat
1989-06-15 19:06:56 +00:00
eck
cd367c7940
Initial revision
1989-06-14 16:11:19 +00:00
eck
8c9800d8fe
Initial revision
1989-06-14 15:07:06 +00:00
eck
06c441dab7
Initial revision
1989-06-14 14:41:35 +00:00
eck
5406895717
Initial revision
1989-06-13 11:23:28 +00:00
eck
341aaf8dc1
Initial revision
1989-06-12 15:22:14 +00:00
ceriel
3b4a813a6c
installed new Pascal compiler
1989-06-08 13:05:21 +00:00
ceriel
018cf665d8
some additions to .distr file
1989-06-08 13:02:26 +00:00
ceriel
cc3459e5a8
fix to constant unary minus
1989-05-31 12:42:56 +00:00
eck
69f02d8abc
Initial revision
1989-05-30 13:34:25 +00:00
ceriel
aa0e321971
some fixes
1989-05-29 11:32:23 +00:00
ceriel
c1075bd08c
Added Version.c
1989-05-29 10:32:46 +00:00
ceriel
fd4e81f64e
Modified to make the default M2 compiler name definable at compile time
1989-05-29 10:27:54 +00:00
ceriel
efe2c8d032
some more fixes
1989-05-18 18:02:24 +00:00
ceriel
e431cec90a
fixed some errors
1989-05-18 16:48:28 +00:00
ceriel
9f7ee118f7
new versions, mostly from Cody and Waite
1989-05-18 15:37:54 +00:00
eck
d818da36f0
Initial revision
1989-05-16 13:13:53 +00:00
ceriel
13bc7e128d
a trap from a routine called by the termination sequence could
...
cause an infinite loop. This is prevented
1989-05-12 09:36:16 +00:00
eck
ee50a1d717
Initial revision
1989-05-11 12:32:26 +00:00
eck
c5b0e1bd4f
Initial revision
1989-05-11 10:21:37 +00:00
eck
749c364816
Initial revision
1989-05-11 10:09:52 +00:00
eck
0a7c058d01
Initial revision
1989-05-10 16:22:28 +00:00
eck
d2f7f252b2
Initial revision
1989-05-10 16:08:14 +00:00
eck
f0cec58cf9
Initial revision
1989-05-10 10:43:58 +00:00
eck
85c9115d5b
converted to ANSI C
1989-05-10 10:20:14 +00:00
ceriel
fdf26a7f06
reversed a-option
1989-05-10 10:19:22 +00:00
eck
d20988a1cb
Initial revision
1989-05-10 09:39:49 +00:00
ceriel
c1ff4f2725
default is assertions ON
1989-05-09 15:54:01 +00:00
ceriel
d62d0c68ee
not include em_path.h anymore
1989-05-08 12:39:33 +00:00
ceriel
600d569269
removed printf
1989-05-03 11:14:42 +00:00
ceriel
a94dec52d8
Many improvements by Hans van Eck
1989-05-03 10:30:22 +00:00
ceriel
19638876a1
Adapted for new Pascal Compiler
1989-05-03 09:53:25 +00:00
ceriel
dfc5d7318c
Added cemain entry in Resolve script
1989-04-26 11:32:46 +00:00
ceriel
e967e920be
removed one goto
1989-04-19 15:00:07 +00:00
ceriel
ec3d8bb5aa
fix: filename label sometimes turned up as external
1989-04-14 18:25:39 +00:00
ceriel
6e75af9cef
make entry to generate .o files
1989-04-11 15:51:01 +00:00
ceriel
944c818096
Corrected some warnings a bit
1989-04-11 14:34:21 +00:00
ceriel
6f8702a65e
fixed problem with hex numbers, and use new PushBack feature
1989-04-11 11:40:49 +00:00
ceriel
4d5f61ce45
fixed clock for larger word sizes
1989-04-07 09:20:06 +00:00
ceriel
ff853d748c
using new input module simplifies EOI handling
1989-04-04 15:02:47 +00:00
ceriel
0995f7a809
better error handling, simplified EOI handling with improved input module
1989-04-04 14:53:48 +00:00
ceriel
3030b5edd1
better attempt to indicate start and end of own BSS; still not good
...
enough
1989-04-04 10:09:27 +00:00
ceriel
7a7d0e413b
recognize but ignore #pragma
1989-03-31 11:47:12 +00:00
ceriel
c5345bf6ac
Changed semantics of CallAtEnd so that it calls installed procedures
...
in reversed order
1989-03-22 17:36:20 +00:00
ceriel
4e21aced73
bug fix in WITH statement: called WalkDesignator instead of ChkDesig
1989-03-22 11:07:21 +00:00
ceriel
3a3b5db45d
made the previous changes in parameter passing mechanism and return
...
value mechanism settable with compile time constants
1989-03-22 09:53:47 +00:00
ceriel
f9b6acf1dc
New version with different parameter passing mechanism and some
...
minor fixes
1989-03-20 13:32:06 +00:00
ceriel
346bc839a3
use value parameters when VAR not needed
1989-03-20 13:03:34 +00:00
ceriel
9379157da7
use value parameters when VAR not needed
1989-03-20 12:46:25 +00:00
ceriel
88ebd891b1
generate -c instead of -c.$(SUFFIX)
1989-03-17 17:06:21 +00:00
ceriel
bb83c44309
fixed the arctan routine
1989-03-15 13:16:40 +00:00
ceriel
6218df1293
improved error message for no RETURN from function procedure
1989-03-15 10:46:27 +00:00
ceriel
21a8f93bc7
adapted for larger function result area
1989-03-14 15:36:33 +00:00
ceriel
c81a6a0c7a
better warnings for unused/undefined parameters
1989-03-13 15:04:05 +00:00
ceriel
183942e70c
made return value of topsize an unsigned. Some 2/4 back-ends do
...
not implement BLS 4
1989-03-10 14:03:34 +00:00
ceriel
162b824030
Changed method for returning big values; Instead of using a chunk of
...
global data area, caller creates space on the stack just above parameters
to store the result
1989-03-10 10:40:07 +00:00
ceriel
24f3f2f10e
updated to ed4
1989-03-08 17:28:08 +00:00
dick
1d0b3910b2
more lint code
1989-03-06 15:17:39 +00:00
ceriel
018d91b6a1
Added options
1989-03-03 16:16:52 +00:00
ceriel
a1b4e28760
Added a local extension: procedure constants
1989-03-03 16:13:45 +00:00
ceriel
3ab954e38c
adapted to new ordering in FILE struct
1989-03-02 11:24:55 +00:00
ceriel
5187e46404
speeded up a bit
1989-02-22 16:16:11 +00:00
ceriel
b1626ca895
try to move side effects as much as possible to the left of the
...
expression tree, to avoid stacking. This is not good enough yet!
1989-02-22 16:16:08 +00:00
ceriel
d5b2601b8f
use a larger buffer on larger machines
1989-02-21 10:01:55 +00:00
ceriel
30959cd73f
some fixes: calloc was wrong; catch traps, and let divides
...
by 0 generate a signal, if on a unix machine
1989-02-20 18:01:33 +00:00
ceriel
f7790b0e8e
empty string in directory list now means current directory
1989-02-16 11:46:39 +00:00
ceriel
1e19db9d3a
empty string in directory list now means current directory
1989-02-16 11:24:01 +00:00
ceriel
00ac6f88a7
empty string in directory list now means current directory
1989-02-16 11:18:44 +00:00
ceriel
eb3dcf275e
fixed some problems, updated with cemcom
1989-02-14 14:35:38 +00:00
ceriel
4629647d78
fixed wrong count in popping parameters
1989-02-14 14:10:31 +00:00
ceriel
ebce0b4a18
New coroutine mechanism incorporated
1989-02-13 18:41:17 +00:00
ceriel
7b2e749b0d
make runtime error messages emacs-compatible
1989-02-13 18:28:17 +00:00
dick
429d527a64
more and better declarations in c.llb
1989-02-10 16:46:01 +00:00
ceriel
3b922f1292
fix: CHR expects a CARDINAL parameter
1989-02-09 15:43:28 +00:00
ceriel
62d8930080
deleted makefile from distribution; Added some comments about this to
...
the README file
1989-02-09 15:43:25 +00:00
ceriel
fb88f5dbdd
fixed problem with importing enumeration literals
1989-02-08 10:24:10 +00:00
ceriel
81f2477282
Adapted to our installation
1989-02-08 09:38:15 +00:00
ceriel
04e2dac8e7
replaced some BSS by CON; The order in memory is important!
...
Adapted to our installation
1989-02-08 09:23:46 +00:00
ceriel
6fec436051
use an ed script instead of an ex script; more portable
1989-02-07 17:54:33 +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
ceriel
c3f7993b1a
fixed problem in sizeof()
1989-02-06 19:06:55 +00:00
dick
f70dfe4d00
better evaluation order checking in expressions
1989-02-02 13:57:07 +00:00
ceriel
5e14dddb6c
fix in compile time int2float conversion
1989-01-23 16:52:22 +00:00
ceriel
cc55ab947d
evaluate switch-expression on a different spot,
...
allow for *STRING expressions
1989-01-23 15:37:57 +00:00
ceriel
d55d4bb69f
fixed another POINTER TO IDENT problem
1989-01-19 10:58:43 +00:00
ceriel
f4caec88e8
use C_con_cst instead of C_con_icon when possible;
...
fix sizeof(string) to return the size of the string instead of the size of
a pointer
1988-12-12 14:21:45 +00:00
ceriel
10157af05f
fixed: the fgets replacement did not work properly
1988-12-08 16:18:29 +00:00
ceriel
18b719de80
killbss routine smarter now; does not overwrite all BSS; did not work
...
as it should, because systemcall interface also uses the fact that BSS = 0
1988-12-02 15:39:59 +00:00
ceriel
5252b760d9
handle intorcard_type better in case statements
1988-11-29 13:13:03 +00:00
ceriel
73ac23824b
changed error messages, initialize bss with funny value, and be
...
somewhat more conservative with memory usage
1988-11-28 12:54:38 +00:00
ceriel
da11deeece
improved interface
1988-11-25 13:49:07 +00:00
ceriel
9eb1f7a67b
cleaned up interface a bit
1988-11-24 11:46:31 +00:00
ceriel
15377abec5
Fix from Lindsey: changed CURRDIR mechanism to make it work on SunOs 4.0
1988-11-24 11:29:14 +00:00
ceriel
6a8360b335
Fix from Lindsey: changed CURRDIR mechanism to make it work on SunOs 4.0
1988-11-24 09:41:39 +00:00
ceriel
982138b8da
another minor problem fixed: only test on options['R'] once
...
in a FOR statement!
1988-11-23 13:10:57 +00:00
ceriel
b86a455efa
minor fix: sometimes wrote 0-byte
1988-11-23 11:31:20 +00:00
ceriel
d7bb7c9cf3
Added termcap support
1988-11-23 10:59:09 +00:00
ceriel
430dad523d
removed tab.c, use tabgen, and some fixes
1988-11-16 15:18:21 +00:00
ceriel
6ac798b50c
removed tab.c, use tabgen
1988-11-16 11:23:58 +00:00
ceriel
b8cc947bc3
removed tab.c, use tabgen
1988-11-16 11:04:17 +00:00
ceriel
a08e71a16f
removed tab.c, use tabgen
1988-11-16 10:58:33 +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
090f27251e
fixed typo
1988-11-15 11:30:47 +00:00
ceriel
ef6f9168c4
do not refer to _exit. For some machines, it does not exist
1988-11-07 10:25:45 +00:00
ceriel
b90690ba5d
Changed translation of FOR-statement: now, if it is executed 0
...
times, the loop-control-variable is not assigned to
1988-11-04 13:12:14 +00:00
ceriel
d418617de6
new version number
1988-11-04 10:24:34 +00:00
ceriel
93cee9d434
Fixed problem with IMPORTS through PROCEDURE bounds
1988-11-03 15:37:37 +00:00
ceriel
5e766a0f20
Fixed bug with underscores in identifiers
1988-11-03 15:36:46 +00:00
dick
4ed20925c6
lint: printf testing and FORMATs
1988-11-03 15:18:46 +00:00
dick
7267917050
foute declaratie van sprint()
1988-11-03 14:59:47 +00:00
dick
190ea14bbf
lint: retrieving string arguments from str_list
1988-11-03 13:20:27 +00:00
ceriel
3bb19b6e7d
Added code-expander library
1988-10-31 14:17:17 +00:00
ceriel
b5083a9ccf
inline substitution of strcmp: was called many times!
1988-10-31 14:10:39 +00:00
ceriel
4f11f3c3fd
fixed bug in preprocessor part:
...
#define aap(a) a did not work if the actual argument was spread over
multiple lines
1988-10-31 14:10:00 +00:00
dick
900421f411
library files now end in .llb
1988-10-28 16:27:32 +00:00
dick
63c0ca38f9
moving lint and lint.1 to lpass2
1988-10-28 16:04:31 +00:00
ceriel
78237f3ef8
some small fixes
1988-10-28 10:11:49 +00:00
ceriel
01252cb592
Initial revision
1988-10-26 15:21:11 +00:00
ceriel
a7a80689bf
Only generate FIL when needed
1988-10-25 17:43:19 +00:00
ceriel
416020b5bd
fixed minor problem with subranges
1988-10-21 17:24:34 +00:00
ceriel
0ba4588be1
Changed name of compiler to m2
1988-10-19 16:44:01 +00:00
ceriel
ce0ec1c143
delinted somewhat
1988-10-13 15:43:23 +00:00
dick
c08c3e5cf6
driver and manual page added
1988-10-13 11:31:00 +00:00
dick
e66f3adc06
formats introduced in lint
1988-10-12 16:05:17 +00:00
dick
ac21f8d98a
formats introduced
1988-10-12 15:49:11 +00:00
dick
bcb3b108a5
formats introduced
1988-10-12 15:32:32 +00:00
ceriel
ac3bf2cc95
Added pascal.ign
1988-10-07 10:59:23 +00:00
ceriel
1169f99c92
Added
1988-10-07 10:58:26 +00:00
ceriel
8e7e1320ac
Initial revision
1988-10-05 13:29:42 +00:00
ceriel
e1b871a6ea
Initial revision
1988-10-04 13:41:01 +00:00
ceriel
a66faf4100
Initial revision
1988-10-04 10:56:50 +00:00
ceriel
7bac6eb164
Initial revision
1988-10-04 10:46:47 +00:00
ceriel
23a7e7b427
Initial revision
1988-10-04 10:33:39 +00:00
ceriel
6b7a135b2b
Coercion from int to float is now always done compile time
1988-10-03 10:09:19 +00:00
dick
4cecb6bffb
wrong Makefile committed
1988-09-30 16:49:02 +00:00
dick
ff682c0cfc
testing enums in switches/cases
1988-09-30 16:43:04 +00:00
dick
1fb9c249b3
refinements in error reporting
1988-09-30 15:20:24 +00:00
dick
63d95a5f0e
Initial commit
1988-09-30 11:45:14 +00:00
dick
4f8b2e9926
lint: additional type tests in expressions
1988-09-29 15:24:02 +00:00
dick
acf34e54ec
crash() replaced by ASSERT() & NOTREACHED() in lint
1988-09-26 11:37:38 +00:00
dick
3d549e7932
reorganisation of lint code
1988-09-25 17:29:37 +00:00
ceriel
9435c895bf
Added l_ files to .distr
1988-09-21 13:32:24 +00:00
ceriel
b52e0e8ff1
fixed l_dummy.c to also work for the C-compiler,
...
added lint.h to BigPars and SmallPars,
and added stuff for CODE_EXPANDER and PEEPHOLE to Makefile
1988-09-21 11:48:29 +00:00
dick
6839d8afb1
introduction of lint source code, governed by ifdef LINT
1988-09-20 16:44:27 +00:00
ceriel
7e502b0937
fix: resolve forward references if definition is needed in lookfor()
1988-09-20 13:31:57 +00:00
ceriel
f8fb06210d
fixed: apparently, the profil system-call does not quite work as described
...
in the manual page?
1988-09-19 16:55:35 +00:00
dick
1f7115fa8d
error messages and error handling
1988-09-16 23:19:50 +00:00
ceriel
64aae9d435
DS and DE are not man macros
1988-09-07 10:13:36 +00:00
ceriel
74fba213bc
DS and DE are not man macros
1988-09-07 10:01:59 +00:00
ceriel
612ddc8a4e
return value sometimes was wrong
1988-09-06 15:34:47 +00:00
ceriel
575d4f5223
Extended to handle user libraries
1988-09-06 11:28:16 +00:00
ceriel
a0d2a1ea74
delinted somewhat
1988-09-05 15:51:35 +00:00
ceriel
dca9ed9bb2
Added stty and gtty
1988-09-02 15:40:45 +00:00
ceriel
2b47b43390
fix: did not handle the case that a program module name and file name
...
differ
1988-09-02 12:01:53 +00:00
dick
a206f17205
#define PRIVATE; copyright message
1988-09-02 12:00:25 +00:00
ceriel
615b67952f
make somewhat safer
1988-09-01 10:07:02 +00:00
ceriel
a40768b6f9
improve line number administration
1988-08-31 09:24:28 +00:00
ceriel
ac92c0b9c3
made safer
1988-08-30 12:52:09 +00:00
ceriel
d24592ee76
Added bsearch
1988-08-30 12:47:45 +00:00
ceriel
ddc46385f3
fix: did not work properly when name != TERM
1988-08-30 12:34:40 +00:00
ceriel
e102a3f5cb
better checks for recursion in tc=
1988-08-30 11:37:32 +00:00
dick
32e5679d6c
filename and linenumber info in more places
1988-08-29 15:51:48 +00:00
ceriel
5e34ca7d2b
ignore exit status of size
1988-08-24 11:39:57 +00:00
ceriel
2ffad4edb4
ignore exit status of size
1988-08-24 10:49:24 +00:00
dick
61b8c3e9ec
more modifications due to lint
1988-08-23 12:45:11 +00:00
dick
1a6665e21d
initial small modifications for lint
1988-08-19 13:55:22 +00:00
ceriel
e8730266e5
removed not-used variable
1988-08-19 13:40:01 +00:00
ceriel
b1712321e2
made easier to patch
1988-08-19 13:26:27 +00:00
ceriel
371821c6a3
fixed typo
1988-08-11 15:59:35 +00:00
ceriel
ebfc4a15a4
Added strtod.c, use it in atof
1988-08-11 12:49:06 +00:00
ceriel
8f9ed86162
ignore floating overflow/underflow
1988-08-11 09:55:22 +00:00
ceriel
094d427268
prevent overflow
1988-08-10 15:54:15 +00:00
ceriel
d7d16cbede
use new ecvt.c from C library
1988-08-10 11:21:40 +00:00
ceriel
03610bb643
improved/speeded up using new ecvt
1988-08-10 11:12:57 +00:00
ceriel
a1032b168c
fix
1988-08-10 10:41:15 +00:00
ceriel
d388145dce
new, much faster version
1988-08-10 09:14:43 +00:00
ceriel
e6d132830a
fix: line number administration wrong in scan.c
1988-08-09 14:07:39 +00:00
ceriel
2c413b9455
makefile --> Makefile
1988-08-08 18:03:12 +00:00
dick
56fff3d6cd
many improvements
1988-08-07 22:55:20 +00:00
ceriel
905c5a349f
fix: >= and <= were wrong in constant expressions
1988-08-05 11:22:39 +00:00
ceriel
cdb038ed6f
forgot leading zero in front of . in F format
1988-08-04 15:48:34 +00:00
ceriel
96fc9c9ab7
gcvt was called with wrong precision
1988-08-04 15:48:20 +00:00
ceriel
28d39e927b
fixed problem with 'if (array)'
1988-08-04 14:37:06 +00:00
ceriel
1726d23a44
problem fixed: number of digits displayed and/or format was sometimes wrong
1988-08-04 11:17:27 +00:00
ceriel
56a070ad99
fixed
1988-08-03 19:24:55 +00:00
ceriel
38e7921a9d
Added E, G, and g format
1988-08-03 16:29:30 +00:00
ceriel
3e66a45a0d
fixed
1988-08-03 16:15:48 +00:00
ceriel
caf948e80e
moved getopt to stdio, because it uses it
1988-08-03 14:42:47 +00:00
ceriel
0768c4d4f1
fix to fix
1988-07-29 19:22:48 +00:00
ceriel
87c8b648fc
fix in preprocessor part: macro invocation with parameterlist on the
...
next line did not work
1988-07-29 18:38:25 +00:00
ceriel
bbe7ae21e8
BSD4.[23] could also run NFS
1988-07-28 09:26:22 +00:00
ceriel
75d52f0a3e
corrected Makefiles
1988-07-28 08:37:37 +00:00
ceriel
e70f6d3276
Remove m2mm on clean
1988-07-27 09:28:31 +00:00
ceriel
84acaa1163
distribute Makefile
1988-07-26 19:08:46 +00:00
ceriel
fabf37e889
declared errno
1988-07-26 13:04:24 +00:00
ceriel
dbbff76f4c
Used new math lib of C to create new version of Mathlib
1988-07-25 16:41:51 +00:00
ceriel
e98a670850
fixed typo
1988-07-25 12:30:52 +00:00
ceriel
7b1eae1d37
fixed: call to atan changed into call to _atn
1988-07-25 11:41:19 +00:00
ceriel
c9f8962fc8
mod to remove declarations in math.h
1988-07-25 11:40:57 +00:00
ceriel
324c95ae62
replaced mathematical routines by our own
1988-07-25 11:26:26 +00:00
ceriel
d443f370d2
replaced mathematical routines by our own
1988-07-25 11:13:26 +00:00
ceriel
b09805786d
Added some prints
1988-07-22 20:58:48 +00:00
ceriel
ffb6eb9ff4
Added .distr
1988-07-22 18:29:52 +00:00
ceriel
696f0b1c31
Added math
1988-07-22 18:29:51 +00:00
ceriel
a18fcb9048
Initial revision
1988-07-22 16:53:29 +00:00
ceriel
becd33d3a9
made to work on small machines
1988-07-18 16:45:25 +00:00
ceriel
ca51618fe9
made to work; contained too many dependencies on word/pointer size
1988-07-18 16:41:04 +00:00
ceriel
02154c02b2
fixed problem with D scale factor
1988-07-13 20:13:17 +00:00
ceriel
f8cf94da98
changed text
1988-07-13 17:44:14 +00:00
ceriel
eec2ea8ffe
changed text; did not work properly
1988-07-13 17:39:20 +00:00
ceriel
db95ccff91
updated; the int command now is an interpreter
1988-07-13 13:51:57 +00:00
ceriel
20e2452350
updated dependencies
1988-07-11 19:22:19 +00:00
ceriel
6d7522ba44
fixes for Xenix
1988-07-11 13:24:32 +00:00
ceriel
778baeb2c0
fixes for Xenix
1988-07-11 13:18:43 +00:00
ceriel
cd54a85aec
updated dependencies
1988-07-11 12:57:24 +00:00
ceriel
3aabba530d
fixes for Xenix
1988-07-11 12:53:01 +00:00
dick
9dd080ae4b
various improvements
1988-07-08 22:24:06 +00:00
ceriel
d1a390924f
we were lucky, but - indicates a range; corrected
1988-07-08 10:29:48 +00:00
ceriel
8fc459e811
fix: was wrong with constants causing overflow
1988-07-07 15:02:47 +00:00
ceriel
beb142ed98
print longs with %ld
1988-07-07 14:19:16 +00:00
ceriel
b4265c5407
removed the result3 variable; it was not used anymore
1988-07-07 09:59:32 +00:00
ceriel
b365c53262
removed temp file
1988-07-06 18:18:46 +00:00
ceriel
2ea025fdb4
fixed previously introduced error
1988-07-06 09:43:05 +00:00
ceriel
afc4d5211b
made to fit on PDP-11 ...
1988-07-05 19:06:40 +00:00
ceriel
44014704a0
forgot C_magic
1988-07-05 18:27:10 +00:00
ceriel
e1cb398e02
made to fit on PDP-11
1988-07-05 18:06:00 +00:00
ceriel
901d12332d
removed faulty.h from makefile
1988-07-05 16:21:05 +00:00
ceriel
a2905da259
don't use stdio.h
1988-07-05 10:53:53 +00:00
ceriel
c10adfa7cf
removed README
1988-07-04 15:24:24 +00:00
ceriel
db0c67dd10
made to work
1988-07-04 13:41:47 +00:00
ceriel
93bdacae44
updated
1988-07-04 11:45:53 +00:00
ceriel
c39c666834
Initial revision
1988-07-04 11:45:41 +00:00
ceriel
bd5583311e
corrected some more
1988-07-04 11:44:03 +00:00
ceriel
5157a5a186
several fixes for new basic compiler
1988-07-01 17:30:06 +00:00
ceriel
c2af3d7faa
allow for three digits in exponent
1988-07-01 11:56:08 +00:00
ceriel
6ade1e3215
Also export LONGREAL routines
1988-06-30 16:32:54 +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
3ed0f85ba7
fixed typo
1988-06-29 13:13:49 +00:00
ceriel
77830f353c
small fix
1988-06-29 10:49:24 +00:00
ceriel
184984d472
Minor adaptions to comments
1988-06-16 11:44:31 +00:00
ceriel
969b5221f5
make interface new_stackptr cleaner
1988-06-13 10:34:14 +00:00
ceriel
8f9818c385
Added short-hand for C_cal+C_asp, made interface new_stackptr cleaner
1988-06-13 10:29:36 +00:00
ceriel
0c386e3032
tolower was called without checking for isupper; adapted
1988-06-10 14:28:32 +00:00
ceriel
f2b485740b
adaptions for generation of compiler with embedded code-generator
1988-06-10 09:17:45 +00:00
ceriel
3d044db749
improved error messages with opaque types
1988-06-09 11:39:11 +00:00
ceriel
3fec1232da
fixed problem with ReOrganize
1988-06-09 09:16:46 +00:00
ceriel
1347076988
changed behaviour of Allocate(..., 0)
1988-06-08 09:22:31 +00:00
ceriel
9fb5d02aa9
changed a comment
1988-06-07 12:34:04 +00:00
ceriel
a22b21016e
corrected cap.c
1988-06-03 09:36:08 +00:00
ceriel
5ce46ce603
removed faulty.h, updated Parameters
1988-06-03 09:33:29 +00:00
dick
885d03a020
Initial version
1988-05-30 17:17:16 +00:00
ceriel
066439ec19
changed int?? to em??
1988-05-06 13:46:55 +00:00
ceriel
b9943e0ca2
minor update
1988-05-03 15:17:13 +00:00
ceriel
2a1191bfc1
fixed very minor bug: strings should be aligned on word_boundaries
1988-05-03 15:04:30 +00:00
ceriel
58724710d1
Added some comments
1988-05-03 13:17:20 +00:00
ceriel
e40b7407d5
declare some variables in init.c instead of runtime startoff
1988-05-03 12:44:32 +00:00
ceriel
781a1218a5
only increment line number on ASCII LF
1988-05-03 11:30:25 +00:00
ceriel
94bb3d3e04
improved checking
1988-05-03 09:03:19 +00:00
ceriel
7dcfb2b4ad
Added a stripped version of the Unix module
1988-05-03 08:33:33 +00:00
ceriel
8b655cb67e
Exchanged role of ALLOCATE/Allocate
1988-05-03 08:20:11 +00:00
ceriel
2468ee6d34
did not compile with NOPP defined
1988-05-02 15:37:13 +00:00
ceriel
d5f6dfeb2a
did not compile with USE_TMP not defined
1988-05-02 14:40:35 +00:00
ceriel
132e8d0baa
minor fixes
1988-05-02 14:13:25 +00:00
ceriel
f6f8a5e858
fixed another typo
1988-05-02 12:35:39 +00:00
ceriel
e030fdc548
fixed typo
1988-05-02 08:46:58 +00:00
ceriel
aadfe97a58
make to fit on PDP-11 again
1988-04-29 15:41:38 +00:00
ceriel
4d528bbc24
Added some unix signal handling
1988-04-29 14:38:36 +00:00
ceriel
23aca9118e
improved clean entry
1988-04-29 09:22:57 +00:00
ceriel
69b293d86b
types of case-labels are base-types
1988-04-29 09:16:51 +00:00
ceriel
0e501983f4
don't allow allocates bigger than MAX(INTEGER)
1988-04-28 15:13:44 +00:00
ceriel
2a11727622
updated to current situation
1988-04-28 13:38:24 +00:00
ceriel
673679e5eb
improved trap handling
1988-04-27 18:11:33 +00:00
ceriel
5891ec12a0
corrected brk and sbrk somewhat
1988-04-27 18:02:59 +00:00
ceriel
420ca09aee
improved; now also runs with interpreter
1988-04-27 13:01:25 +00:00
ceriel
39d3496f4b
Added termcap.c
1988-04-26 18:23:40 +00:00
ceriel
8acf1542f6
updated dependencies
1988-04-26 16:15:25 +00:00
ceriel
5a7fa39fc9
updated dependencies
1988-04-26 16:03:36 +00:00
ceriel
8781ada304
generate more register messages
1988-04-26 15:33:48 +00:00
ceriel
a0799c99ec
Initial revision
1988-04-26 14:33:11 +00:00
ceriel
db786790ee
made epsd 1e-14 instead of 1e-17
1988-04-26 14:10:55 +00:00
ceriel
bfd4554758
fixed: did not compute hexadecimal numbers right
1988-04-26 13:47:02 +00:00
ceriel
6722c28d81
Added comment
1988-04-26 13:04:04 +00:00
ceriel
7943327f7d
corrected
1988-04-26 11:43:23 +00:00
ceriel
76a93fcbc3
better error checking in Storage module
1988-04-26 11:25:36 +00:00
ceriel
6c825b7892
fixed hexadecimal character class
1988-04-26 10:51:50 +00:00
ceriel
2bbecf2416
better argument checking of standard functions
1988-04-26 10:14:01 +00:00
ceriel
d260937564
improved layout with varargs
1988-04-25 16:24:42 +00:00
ceriel
71dd29ae30
improved layout
1988-04-25 16:17:29 +00:00
ceriel
6607dc999e
fixed; va_end(list) should be va_end(ap)
1988-04-25 15:31:58 +00:00
ceriel
093a970d7f
generate scope info for functions
1988-04-25 12:55:25 +00:00
ceriel
9bd075e3a0
Added TableHandl.def
1988-04-25 09:28:10 +00:00
ceriel
4410cc5cdf
main should return value
1988-04-22 16:00:01 +00:00
ceriel
48f7be1f8e
corrected; did some shifts that have undefined result
1988-04-22 15:49:20 +00:00
ceriel
e0d31020c8
made to conform to ACK rules
1988-04-21 18:48:15 +00:00
ceriel
5f4707b280
improved comments; should now be understandable for anyone who knows EM
1988-04-21 10:08:56 +00:00
ceriel
e41fd6d8a9
corrected typo
1988-04-21 09:21:18 +00:00
ceriel
79e3ac1a26
improved setjmp
1988-04-20 16:58:29 +00:00
ceriel
536716ba84
rewritten setjmp: compiler now gives a bit more support
1988-04-20 15:33:17 +00:00
ceriel
ae50580eff
new handling of setjmp; now pass return address
1988-04-20 15:28:10 +00:00
ceriel
b82c0d9bdd
Added test
1988-04-20 10:45:09 +00:00
ceriel
fee10c4735
Initial revision
1988-04-20 10:43:48 +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
da872ef789
assert macro has one parameter
1988-04-19 09:57:44 +00:00
ceriel
eb6ed2df62
Added .distr file
1988-04-18 15:00:24 +00:00
ceriel
c06568406c
Initial revision
1988-04-18 10:24:30 +00:00
ceriel
35e749a72f
Added id.sed
1988-04-18 10:23:45 +00:00
ceriel
132548a987
Added a distr entry
1988-04-18 10:21:30 +00:00
ceriel
d1c9c94493
generate message about parameter count
1988-04-15 17:29:02 +00:00
ceriel
9dbd7bdcf5
check for total size of locals and parameters
1988-04-15 17:25:01 +00:00
ceriel
2549099d3b
use varargs where needed
1988-04-15 15:19:27 +00:00
ceriel
d1fee09721
Use varargs where needed
1988-04-15 15:07:51 +00:00
ceriel
143fe678d4
use stty/gtty instead of ioctl
1988-04-15 15:03:32 +00:00
ceriel
ecaea97a99
make to use varargs.h
1988-04-15 14:43:19 +00:00
ceriel
355177a22c
improved sbrk
1988-04-14 10:45:42 +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
39c5ab2997
better ORD, VAL, and CAP, and some other minor mods
1988-04-12 09:19:06 +00:00
ceriel
54bfaff625
Added a mechanism to test pointers as soon as possible
1988-04-11 18:32:47 +00:00
ceriel
eddb43c08e
catch possibly occurring trap with stores in the HP
1988-04-11 12:51:22 +00:00
ceriel
d7030591f9
fixed problems in Storage module: caused integer overflow and bad pointers
1988-04-11 10:34:31 +00:00
ceriel
5250c1571f
Added m2
1988-04-08 13:10:18 +00:00
ceriel
32d38f3eb8
two versions of the parameters file: small and large
1988-04-08 10:04:03 +00:00
ceriel
b671136060
don't generate HOL's of zero size
1988-04-08 09:46:04 +00:00
ceriel
ec612942a1
a minor mod
1988-04-07 15:35:48 +00:00
ceriel
0760483bee
minor mod
1988-04-07 15:30:37 +00:00
ceriel
cc4c9e85c8
Added id.sed
1988-04-07 15:02:12 +00:00
ceriel
c8a728969d
some minor changes and a fix in pointer arithmetic
1988-04-06 18:14:50 +00:00
ceriel
f47d49b1c0
Added cap.c
1988-04-05 15:27:50 +00:00
ceriel
2be8437d73
identifiers may not contain two consecutive underscores, and a fix
1988-03-31 16:09:53 +00:00
ceriel
702a73b734
identifiers may not contain two consecutive underscores, and a fix
1988-03-31 16:02:20 +00:00
ceriel
021619910e
changed PascalIO.Get behaviour and used Allocate instead of ALLOCATE
1988-03-28 18:15:50 +00:00
ceriel
36e934583a
many minor mods: name changes
1988-03-23 17:55:57 +00:00
ceriel
7f9fd963fd
many minor mods
1988-03-23 17:44:25 +00:00
ceriel
e71df15045
made to fit on PDP-11 again
1988-03-22 17:54:01 +00:00
ceriel
fba9192bbc
new version, with 2/4 handling
1988-03-21 18:22:52 +00:00
ceriel
cc64f88964
adapted to new naming scheme
1988-03-21 18:15:59 +00:00
ceriel
dea657a673
too many changes: some cosmetic; some for 2/4; some for added options
1988-03-21 17:43:54 +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
0976dfa3b9
too many changes: some cosmetic; some for 2/4; some for added options
1988-03-21 17:06:20 +00:00
ceriel
bb51d7b0e2
too many changes: some cosmetic; some for 2/4; some for added options
1988-03-21 16:47:51 +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
134869ad1a
Added an array bound checking procedure
1988-03-18 18:08:20 +00:00
ceriel
33f80c6eef
adapted for 2/4 code generation, and also fixed some bugs
1988-03-18 14:23:04 +00:00
ceriel
987683cf99
Added some comment
1988-03-16 09:20:36 +00:00
ceriel
750c838141
forgot to pop old handler
1988-03-15 17:37:19 +00:00
ceriel
bda28533c5
fix in writing of prompt
1988-03-15 13:48:56 +00:00
ceriel
4b79636b8f
fixed a problem with #ifdef/#else/#endif
1988-03-08 11:42:00 +00:00
ceriel
1a259744af
The Get routine did not work right, fixed
1988-03-08 11:28:00 +00:00
ceriel
ea21b16846
Added dependency
1988-03-08 10:44:09 +00:00
ceriel
78926a5a84
fix typo and parameters of overflow
1988-03-08 10:35:53 +00:00
ceriel
5cf3fc1017
some minor mods, mostly for better line number tracking
1988-03-08 10:18:58 +00:00
ceriel
d949e3e8c5
some more fixes to fixes
1988-02-19 16:52:54 +00:00
ceriel
dead814781
Of course: fixes to previous mods
1988-02-19 16:36:45 +00:00
ceriel
31ddd5ca12
mainly new comments
1988-02-19 15:54:01 +00:00
ceriel
96fc577b15
new version using the Streams module
1988-02-19 13:05:03 +00:00
ceriel
17921c4b5a
Added the ArraySort module
1988-02-19 12:53:15 +00:00
ceriel
4e0c9a780a
fixes and other mods
1988-02-17 17:21:51 +00:00
ceriel
d04dce377a
Changed use of word_align: it now only indicates the alignment on
...
which word-operations are allowed to take place
1988-02-17 14:29:57 +00:00
ceriel
d034f5145c
malloc now allows users to use sbrk too,
...
setjmp/longjmp now save/restore the signal mask on BSD 4.2 systems,
some minor mods in atof
1988-02-16 17:48:39 +00:00
ceriel
7bc8ed1270
fixed: returned wrong value
1988-02-16 17:48:28 +00:00
ceriel
b54a58e93c
made counting for register messages depending on a #define,
...
adapted makefile to make version with peephole optimizer library
1988-02-16 16:23:00 +00:00
ceriel
5d861a3399
made to work
1988-02-15 18:08:46 +00:00
ceriel
d6c52e0fef
make to work with new em_code interface
1988-02-15 18:04:27 +00:00
ceriel
d7d501d43a
made to fit on a PDP-11 again
1988-02-10 14:06:34 +00:00
ceriel
78de25b639
New baseline for distribution
1988-02-09 11:45:30 +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
f2dc30c912
modified to use Streams module
1988-02-03 14:34:40 +00:00
ceriel
eb2ce1f30b
This version fixes many problems in older versions
1988-02-02 16:27:54 +00:00
ceriel
da3c00aeac
compare pointers with CMP
1988-02-01 10:17:51 +00:00
ceriel
9d83605ccd
Added the Streams module
1988-01-29 11:35:45 +00:00
ceriel
a22ab5c7b7
better error message
1988-01-28 16:54:33 +00:00
ceriel
99611d287b
conversion routinew now initialize whole array, Epilogue module changed slightly
1988-01-28 16:37:55 +00:00
ceriel
16e381031b
improved filename and linenumber generation
1988-01-28 16:15:16 +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
7bb1897e98
minor fixes
1988-01-27 15:10:16 +00:00
ceriel
e67e59e56a
bug fix in LONGINT constants
1988-01-26 13:54:24 +00:00
ceriel
e5b9c564af
Added the Epilogue module
1988-01-25 16:14:48 +00:00
ceriel
b19a178e2e
fixed a bug with string-initializers
1988-01-25 16:14:01 +00:00
ceriel
a7cdd16125
Allow the checking of definition modules
1988-01-22 12:04:27 +00:00
ceriel
9dfa2f6979
Added a test that at some point failed for the new CEMCOM
1988-01-19 11:45:43 +00:00
ceriel
ad2d61154b
fixed some minor problems
1988-01-15 16:55:01 +00:00
ceriel
31757c1935
output of id.c was wrong
1988-01-12 15:56:42 +00:00
ceriel
897b86cba2
prevent a voluntary crash and generate better code
1988-01-11 14:06:20 +00:00
ceriel
d98394f0cf
Added a test for casts
1987-12-04 12:53:18 +00:00
ceriel
a8703841b2
changed typing of constants, to be more compatible with PCC
...
and future standard
1987-12-03 11:12:02 +00:00
ceriel
a61d36ff49
fixes and squeezing
1987-12-02 10:41:38 +00:00
ceriel
3627b9a16c
added use checking for types and constants, improved overflow checking
1987-11-27 14:24:46 +00:00
ceriel
3e51d4f62f
version with better overflow checking
1987-11-27 14:13:11 +00:00
ceriel
896fec3fc5
version with better overflow checking
1987-11-26 14:15:24 +00:00
ceriel
b2824fe796
check number of locals and parameters
1987-11-24 14:21:35 +00:00
ceriel
ea2c86ef0c
do not allow reals as case labels, check size of array's
1987-11-24 13:22:04 +00:00
ceriel
70403f62d9
fixed a bug: casts to short or char did not work right
1987-11-23 13:48:09 +00:00
ceriel
c41f63a4c8
%[...] did not work
1987-11-20 12:57:51 +00:00
ceriel
619f6bb893
Fixed bug: subranges of subranges did not work right
1987-11-17 14:29:14 +00:00
ceriel
7bbfcac62b
generate CSA for empty case statement, replaced an #ifdef that was on the wrong spot
1987-11-13 16:21:33 +00:00
ceriel
808e5d8c7d
generate CSA for empty case statement
1987-11-13 16:19:51 +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
b6d6c4ee57
changed mechanism for for-loop checking, added some trap numbers
1987-11-09 11:36:45 +00:00
ceriel
785e174cbb
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
e1a3a1c136
made to fit on a PDP-11
1987-11-09 10:17:20 +00:00
ceriel
cf0852c846
print initializer expression before call to code_declaration
1987-11-04 16:30:02 +00:00
ceriel
2837aa68a7
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
6e5f3632c6
fixed some minor problems
1987-11-03 12:44:09 +00:00
ceriel
867232a244
fixed some minor problems
1987-11-02 17:59:18 +00:00
ceriel
017871b025
deleted debugging writes
1987-11-02 11:25:13 +00:00
ceriel
b24e6763c3
changed trap messages somewhat, corrected bug in InOut, undone changes
...
to confarray.c
1987-11-02 11:22:06 +00:00
ceriel
bc6a9fbf66
Added handling of cardinal overflow
1987-10-30 18:32:14 +00:00
ceriel
5cd95d47b2
Now detects use before declaration, f.i. in
...
VAR k: REAL;
REAL : INTEGER;
1987-10-30 09:19:23 +00:00
ceriel
3c63f1b656
sets now allowed for all subranges
1987-10-28 16:10:02 +00:00
ceriel
b668810351
sets now allowed for all subranges
1987-10-28 16:03:56 +00:00
ceriel
d80b501829
Fixed some problems, and improved range-checking
1987-10-28 11:10:30 +00:00
ceriel
4974cd17eb
Added new files to do range checks
1987-10-27 11:55:59 +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
7df117128c
fixed for very large numbers
1987-10-22 15:26:36 +00:00
ceriel
cf330f732c
increased buffer size
1987-10-22 14:07:54 +00:00
ceriel
b75744f0d4
replace 10 by 10.0, so that the conversion is not done at runtime
1987-10-22 13:58:48 +00:00
ceriel
245397491a
increased buffer size, check for end
1987-10-22 13:35:05 +00:00
ceriel
16a335ab42
removed some IMPORTS that were never used
1987-10-21 11:49:14 +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
a24c90f5a9
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
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
67cf9c4933
some fixes
1987-10-19 10:06:24 +00:00
ceriel
f25570dd4e
replaced calls to NEW by calls to ALLOCATE
1987-10-15 15:41:00 +00:00
ceriel
5c7379738b
Some minor adaptions
1987-10-15 12:59:03 +00:00
ceriel
4695d966ee
next version
1987-10-14 12:38:01 +00:00
ceriel
fc6a8c5aa8
some minor fixes
1987-10-14 12:34:47 +00:00
ceriel
e61b887e31
improved previous fix
1987-10-05 16:17:51 +00:00
ceriel
38f70a3a06
new version for distr
1987-10-05 15:52:02 +00:00
ceriel
5d5e497d22
fixed a problem with procedures imported from other modules but not
...
declared in their definition modules
1987-10-05 15:41:30 +00:00
ceriel
4c7dc7eb20
did not work with CASE statements with large difference between lower
...
and upper bound
1987-10-05 15:40:53 +00:00
ceriel
efcb9468f4
fixed some bugs:
...
- switch with BIG difference between lower and upper now handled correctly
- made sure an added error production is never chosen as the default one
- don't allow AUTO as specification for a parameter
1987-10-05 10:17:44 +00:00
ceriel
9d2bfee634
some fixes
1987-09-28 13:45:24 +00:00
ceriel
8c6981f642
ran 'make depend' again
1987-09-28 10:18:02 +00:00
ceriel
a4c02d15c6
new version
1987-09-24 13:42:50 +00:00
ceriel
c5674041bf
Some minor mods and a bug fix with type transfer functions
1987-09-24 13:07:31 +00:00
ceriel
e30234fce8
Initial revision
1987-09-24 13:01:27 +00:00
ceriel
fd817d4dbc
Minor adaptions in order to reduce the size
1987-09-23 16:39:43 +00:00
ceriel
8d2afe1103
some more fixes
1987-09-14 12:41:08 +00:00
ceriel
74c758e503
some more fixes
1987-09-14 11:24:12 +00:00
ceriel
617f210cf8
Added FORchk.c
1987-09-10 15:56:28 +00:00
ceriel
286acd933c
make sure argument to open is terminated by a 0-byte
1987-09-08 15:35:34 +00:00
ceriel
18996b9698
brk must return pointer size
1987-09-02 14:54:32 +00:00
ceriel
93eba2874d
previous fix was wrong; added another
1987-09-02 12:52:44 +00:00
ceriel
c93f6d9fb1
yet another fix in freopen: re-opening for reading did not work properly
1987-09-02 12:43:23 +00:00
ceriel
7e2c3130b0
dont count when USE_TMP is not defined
1987-09-01 10:41:35 +00:00
ceriel2
adce53f009
fix for statics in nested blocks
1987-08-28 09:56:00 +00:00
ceriel
99f8e49e93
FLOAT did not work
1987-08-24 14:23:13 +00:00
ceriel
6fdd5b6a6d
FLOAT did not work
1987-08-24 13:59:06 +00:00
ceriel
f0fc857cb4
compiler could not handle using addresses of procedures declared
...
in imported definition modules. This is corrected
1987-08-24 11:42:37 +00:00
ceriel
86b6fe60ea
corrected option handling
1987-08-20 13:12:43 +00:00
ceriel
d8370d797b
do not accept p flag
1987-08-19 18:13:19 +00:00
ceriel
0983b7700f
changed code for loops a bit, and fixed an error in MkCoercion
1987-08-19 18:07:41 +00:00
ceriel
19b0c2a0b0
disabled range-checks
1987-08-19 18:07:01 +00:00
ceriel
7dc04a3207
some minor corrections
1987-08-19 15:23:41 +00:00
ceriel
cc524c3d9a
fixed bugs in tzset and ttyslot, adapted malloc to allocate in bigger chunks
1987-08-19 14:44:54 +00:00
ceriel
1c85c44fad
an attempt to improve error correction on unknown type identifiers.
...
Also, a minor fix to ival.g
1987-08-18 10:05:18 +00:00
ceriel
b53309f9f6
fixed: resulted in memory faults in rare cases
1987-08-17 20:32:00 +00:00
ceriel
46589d5798
not finding an include file is fatal
1987-08-17 14:36:55 +00:00
ceriel
c7990b3d31
some fixes to freopen
1987-08-17 14:23:16 +00:00
ceriel
b8fb8a57fa
fixed setbuf. count field was set wrong
1987-08-14 20:32:08 +00:00
ceriel
a7b7fa4162
Added the possibility to disable range-checks
1987-08-11 10:50:30 +00:00
ceriel
d0b452373b
yet another fix in those tricky FOR-loops
1987-08-11 08:58:20 +00:00
ceriel
51169956dc
some more fixes, and tried to make smaller
1987-08-10 21:43:47 +00:00
ceriel
abf9c71fa9
Generated code for FOR-loops was wrong
1987-08-10 13:01:54 +00:00
ceriel
e5af61151e
nestlevel count per file
1987-08-10 11:17:20 +00:00
ceriel
4623ed60b0
fixes to preprocessor part
1987-08-07 19:53:54 +00:00
ceriel
bfd6e2061f
fixed a bug with setjmp.
...
Fixed a bug with non-struct pointers referring to structs
1987-08-06 14:19:06 +00:00
ceriel
759026de6a
to .m instead of .k
1987-08-06 10:27:10 +00:00
ceriel
0b8262a167
handle returns better
1987-08-06 09:55:00 +00:00
ceriel
d34064d660
resulted in 32768 instead of -32768 on a PDP-11
1987-08-04 08:59:50 +00:00
ceriel
956fa21b89
fix: variable sets were handled wrong
1987-08-03 18:20:55 +00:00
ceriel
af3e759da2
fix blocks.c
1987-08-03 14:40:49 +00:00
ceriel
1640b8cad8
fix: may no address more memory than is present blocks.c
1987-08-03 14:04:44 +00:00
ceriel
d10dd029b5
updated
1987-08-03 09:47:46 +00:00
ceriel
9c014b9e64
some fixes and cosmetic changes
1987-08-03 09:09:07 +00:00
ceriel
064f2b6a8b
new version that passes current tests
1987-07-30 14:21:19 +00:00
ceriel
0e397f09f3
many changes; some cosmetic; coercions now explicit in tree
1987-07-30 13:37:39 +00:00
ceriel
300623ac88
changed order in LIST, ReadString from InOut still did not work right
1987-07-28 13:46:13 +00:00
ceriel
3af275f8d6
A different way of detecting conformant arrays
1987-07-22 17:02:54 +00:00
ceriel
d502a17312
added docs about -Xi flag
1987-07-22 13:42:46 +00:00
ceriel
0aea30473c
some small fixes and additions
1987-07-22 12:42:10 +00:00
ceriel
0bffe65c24
some more fixes
1987-07-22 10:59:24 +00:00
ceriel
03c5092815
fixed a bug: constant sets were not handled right on 4-byte machines
1987-07-22 09:21:00 +00:00
ceriel
19e580bdc9
fixed a typo
1987-07-22 09:12:47 +00:00
ceriel
6614384f3c
fixes, changes to make smaller on PDP
1987-07-21 13:54:33 +00:00
ceriel
36a5618dc8
do not generate mes 11 AND mes 3!
1987-07-17 14:30:30 +00:00
ceriel
5331d4d232
set _buf to 0 on open
1987-07-17 14:04:14 +00:00
ceriel
de55f34bbd
name changes, fix in computation of set sizes
1987-07-17 13:50:04 +00:00
ceriel
e0f737c293
include <sys/time.h> on 4.2 systems
1987-07-17 09:38:18 +00:00
ceriel
e04230a126
bug fixes, name changes
1987-07-16 19:51:40 +00:00
ceriel
4804ab14b8
fix: wrong free
1987-07-16 16:08:13 +00:00
ceriel
0619d27b8d
use new C_insertpart mechanism, other minor changes
1987-07-16 13:27:37 +00:00
ceriel
d843ec9f7a
fixes with error_type, make "type" struct more compact.
1987-07-16 09:34:44 +00:00
ceriel
59e3fd6c2c
Added NOFL to Makefile, to pass NOFLOAT. Also improved the clean entry
1987-07-13 16:50:57 +00:00
ceriel
b93dc94cdb
Added and corrected some comments
1987-07-13 13:34:56 +00:00
ceriel
6a8547cca0
version for installation
1987-07-13 12:53:21 +00:00
ceriel
a1b08c5ee3
compute some expressions in "int" instead of "arith"
1987-07-13 12:46:46 +00:00
ceriel
8dfafeb4e3
fixes
1987-07-13 11:49:32 +00:00
ceriel
c66066a91f
fixes
1987-07-13 10:30:37 +00:00
ceriel
fbf67d7a29
some fixes
1987-07-10 09:06:19 +00:00
ceriel
c7d4d35200
changed random function, added CSP module
1987-07-09 15:15:22 +00:00
ceriel
74ea5e0bd7
latest changes to PascalIO: Reset and Rewrite have their parameters switched
1987-07-08 16:37:23 +00:00
ceriel
85421efb19
Bug fix: ch7sel should call any2opnd
1987-07-06 18:24:46 +00:00
ceriel
5838d4899d
name changes
1987-07-03 16:07:18 +00:00
ceriel
19897803d4
pass EMHOME on to nested make
1987-07-01 13:15:52 +00:00
ceriel
d41028a664
pass EMHOME to nested make
1987-06-30 18:30:45 +00:00
ceriel
f6a828b183
fix: ReadREAL did not work, because ok was'nt initialized
1987-06-29 19:33:01 +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
b93c1cb093
fixes
1987-06-29 12:27:50 +00:00
ceriel
ea69982a26
fixes, different traps, new files
1987-06-26 15:59:52 +00:00
ceriel
8e013368b3
fix: ConvertInteger was wrong for MIN(INTEGER)
1987-06-23 17:38:18 +00:00
ceriel
43a6aed45c
fixes, made more consistent
1987-06-23 17:12:42 +00:00
ceriel
746f94368d
fixes, added 's' option
1987-06-23 17:12:25 +00:00
ceriel
ea590431d8
fixes
1987-06-19 09:25:08 +00:00
ceriel
befe7be9de
Added a kind of range-check for assignments between cards and ints
1987-06-18 17:42:47 +00:00
ceriel
c839c01680
some fixes, and changed priority of unary minus
1987-06-18 15:46:08 +00:00
ceriel
9c01340900
fix: Read did not set "Done" in the "unread" case
1987-06-16 09:04:27 +00:00
ceriel
02044d1d3f
fixed bug
1987-06-12 19:10:12 +00:00
ceriel
ee3a80c6e5
ReadString did not skip leading spaces
1987-06-11 13:07:27 +00:00
ceriel
1fb8da7a02
bug fix in local extern-declarations, some other minor changes
1987-06-01 10:17:29 +00:00
ceriel
bb9b16ab50
fixes, added some standard functions to handle LONGREAL, LONGINT
1987-05-27 10:16:03 +00:00
ceriel
86c5c56a38
Added Mathlib; MathLib0 now uses Mathlib
1987-05-27 10:05:01 +00:00
ceriel
5696478540
Added some 'register' to declarations
1987-05-25 09:13:12 +00:00
ceriel
981e5b206b
Added .distr
1987-05-22 17:24:46 +00:00
ceriel
9294fb9b8c
Added RealConversion
1987-05-22 17:15:09 +00:00
ceriel
ed2d6ab75b
some changes to make smaller
1987-05-21 09:37:28 +00:00
ceriel
0fff5cc80f
transfer made to work on pdp/11 EM intrpreter
1987-05-20 14:11:22 +00:00
ceriel
9eaf539e98
string compare must be on unsigned chars
1987-05-19 08:51:48 +00:00
ceriel
946006fb08
many minor corrections
1987-05-18 15:57:33 +00:00
ceriel
55e82ef0dc
Bug fix: negative integers had the sign at the end
1987-05-13 16:30:06 +00:00
ceriel
5f67f1ad64
Added SYSTEM.h
1987-05-13 15:31:21 +00:00
ceriel
b630dc458f
install manual pages, standard entries
1987-05-13 15:09:11 +00:00
ceriel
b98c031192
minor adaptions
1987-05-13 14:55:34 +00:00
ceriel
0cc5442188
Initial revision
1987-05-13 14:36:45 +00:00
ceriel
6fc7d0f866
bug fix in constant set computations
1987-05-13 13:04:28 +00:00
ceriel
48acbe27bb
fixed a minor bug in cstoper.c: computation of mach_long_sign was wrong
1987-05-12 11:15:55 +00:00
ceriel
927a5636bd
removed the limitation on number of include directories,
...
some bug fixes,
sets now have a constant and a variable part
1987-05-11 14:38:37 +00:00
ceriel
aab8234e55
bug fix in cstoper.c: max_long_sign was computed wrong
1987-05-11 14:19:13 +00:00
ceriel
b6e994767c
removed the limitation on number of include directories
1987-05-11 14:08:58 +00:00
ceriel
1dba69eb38
bug fix in lseek.e
1987-04-29 13:36:52 +00:00
ceriel
fbc0415761
make to work on sun, added copyright, etc
1987-04-29 10:22:07 +00:00
ceriel
be4da756bc
new LIST file; order was wrong
1987-04-27 12:28:28 +00:00
ceriel
08ad853ac5
sleep sometimes hangs. This is corrected
1987-04-23 15:20:41 +00:00
ceriel
23a4c5d7d6
Initial revision
1987-04-16 15:48:27 +00:00
ceriel
cbb10e3b1b
I forgot
1987-04-14 11:11:03 +00:00
ceriel
81b1d21c35
Initial revision
1987-04-13 10:32:47 +00:00
ceriel
8ebc170ec0
st_blksize does only exist on 4.2 systems
1987-04-07 08:46:15 +00:00
ceriel
a30cbae14d
Ported to sun
1987-04-06 13:03:05 +00:00
ceriel
6f1166bcce
bug fix
1987-04-06 12:33:28 +00:00
ceriel
c42541c99b
Added declaration for malloc
1987-04-02 14:12:21 +00:00
ceriel
8675bc2b01
bug fixes
1987-04-02 14:09:21 +00:00
ceriel
1fdfb2b738
improved call to C_lin
1987-04-02 13:02:16 +00:00
ceriel
6eee593f31
Initial revision
1987-03-31 22:17:51 +00:00
ceriel
dec576c89d
improved "clean" entry
1987-03-31 13:11:31 +00:00
ceriel
1da25fb7a5
minor change to manual page
1987-03-31 12:44:15 +00:00
ceriel
82f042ba98
Also install manual page
1987-03-31 12:33:23 +00:00
ceriel
8b90e3480a
Added Rcs Id
1987-03-31 11:09:18 +00:00
ceriel
e80b36ded2
Added copyright notice
1987-03-31 11:06:20 +00:00
ceriel
b46981f4ce
converted to 4-4
1987-03-31 10:58:30 +00:00
ceriel
5d32d4987e
Added copyright notice
1987-03-31 10:50:20 +00:00
ceriel
94f87e3557
replaced copyright notice
1987-03-31 10:45:54 +00:00
ceriel
400c036c67
Added Rcs Id
1987-03-31 10:45:53 +00:00
ceriel
2fba4e5e99
made more portable
1987-03-31 10:05:26 +00:00
ceriel
de8fb5d489
Minor fixes
1987-03-27 16:39:57 +00:00
ceriel
e3043b7dcb
minor adaption, to close filedescriptor immediatelym if possible
1987-03-27 15:11:06 +00:00
ceriel
fa4dfdf813
minor fix to LLlex.h
1987-03-27 10:37:58 +00:00
ceriel
da28bdd2f0
Adapted for system V
1987-03-26 17:33:23 +00:00
ceriel
bac2a42c82
added estack.str, minor fix
1987-03-26 15:32:26 +00:00
ceriel
044587ec57
added index
1987-03-26 15:28:08 +00:00
ceriel
4eb84b928b
align parameters on word_size, not word_align
1987-03-26 11:05:28 +00:00
ceriel
09125cce6b
redesign of ival, other minor changes
1987-03-25 23:14:43 +00:00
ceriel
0cd2bbdc09
updated
1987-03-25 18:52:04 +00:00
ceriel
43c55159d6
more porting to pdp 11
1987-03-23 23:27:03 +00:00
ceriel
e67b672727
more porting to vu45
1987-03-23 23:22:54 +00:00
ceriel
4e03fc78dd
many minor fixes and modifications
1987-03-20 08:30:31 +00:00
ceriel
bcd037018f
still does not fit. Delete bitfields
1987-03-19 10:51:40 +00:00
ceriel
80fd06aa6a
Added LDFLAGS
1987-03-18 09:50:46 +00:00
ceriel
5fe6bf0fcd
made to work on pdp-11
1987-03-18 09:35:31 +00:00
ceriel
8e9f1f781c
changed some names of field selectors
1987-03-18 09:29:56 +00:00
ceriel
50a71251a1
contained calls of non-functions
1987-03-17 22:54:16 +00:00
ceriel
c41f370421
Added LEXLIB
1987-03-16 22:35:21 +00:00
ceriel
3f75d2b08f
Added -Dvoid=int to CFLAGS
1987-03-12 22:50:03 +00:00
ceriel
7ae0622730
replaced copyright notice
1987-03-12 08:25:15 +00:00
ceriel
8a9b2379dc
Bug fixed that was introduced by Kees Visser's modifications
1987-03-11 09:23:23 +00:00
ceriel
07f5d3cce4
Fixed a bug with line-directives, added copyright notice
1987-03-10 17:51:10 +00:00
ceriel
76fea1fbca
__USG and __BSD4_2 introduced, dysize added
1987-03-10 15:07:26 +00:00
ceriel
6eaf182cee
Added Rcs Id
1987-03-10 11:49:39 +00:00
ceriel
5537abbdfb
Added copyright notice
1987-03-10 01:26:51 +00:00
ceriel
462cb0421f
Added copyright notice
1987-03-09 21:33:18 +00:00
ceriel
7880748ecd
Added copyright notice
1987-03-09 16:02:32 +00:00
ceriel
4e5611ac7b
Added copyright notice
1987-03-09 15:22:58 +00:00
ceriel
b8835cee3f
Added copyright notice
1987-03-09 15:15:03 +00:00
ceriel
2fba9c579e
Added exit to main program of tab.c
1987-03-09 13:19:38 +00:00
ceriel
ead0c95f43
Added an exit form main
1987-03-09 12:54:03 +00:00
ceriel
dea6cc76e3
exits instead of returns from main (bloody SUN)
1987-03-09 11:45:49 +00:00
ceriel
539c95237e
remove dummy when cleaning
1987-03-06 16:40:56 +00:00
ceriel
1be18e9a48
Initial revision
1987-03-06 09:02:15 +00:00
ceriel
3c9b5ad0bd
deleted idepth
1987-03-06 08:38:29 +00:00
ceriel
5f15b0bce0
Now really NOFLOAT
1987-03-06 00:00:34 +00:00
ceriel
f1f98288e0
Handle NOFLOAT
1987-03-05 19:55:40 +00:00
ceriel
1a5d5ddec2
procentry/procexit were not called properly
1987-03-05 19:22:33 +00:00
ceriel
a1c73c0335
main exits instead of returns. Bloody SUNs
1987-03-05 15:22:05 +00:00
ceriel
8c3fc983bc
Also remove "main" when making clean
1987-03-04 15:46:02 +00:00
ceriel
f1fc51c85c
Sun defines tmpfile in stdio.h. Renamed Tmpfile
1987-03-02 09:06:26 +00:00
ceriel
8c0d727dc1
Bug fix in strswap
1987-02-26 14:08:16 +00:00
ceriel
c4e1e516ee
Adapted to current situation
1987-02-26 10:29:12 +00:00
ceriel
b66b1b1965
adapted for new C-compiler
1987-02-25 19:00:04 +00:00
ceriel
1fddbd0ee3
Initial revision
1987-02-25 18:30:22 +00:00
ceriel
32be4760cd
Initial revision
1987-02-25 17:14:10 +00:00
ceriel
cc60420184
*** empty log message ***
1987-02-25 16:58:32 +00:00
ceriel
a5d96ae90f
my version (CJ)
1987-02-25 16:56:31 +00:00
ceriel
cf04776017
*** empty log message ***
1987-02-25 16:42:41 +00:00
ceriel
0d6d5ff541
Initial revision
1987-02-25 16:41:54 +00:00
ceriel
362378a94a
my version (CJ)
1987-02-25 16:41:09 +00:00
ceriel
2eeacf071a
Initial revision
1987-02-24 18:36:02 +00:00
ceriel
bc94559e4d
Initial revision
1987-02-24 17:05:53 +00:00
ceriel
c05eb0a5c7
*** empty log message ***
1987-02-24 16:07:04 +00:00
ceriel
3a91ff6da5
renamed a parameters because a local had the same name
1987-02-24 15:41:16 +00:00
ceriel
0d6f436e2f
*** empty log message ***
1987-02-24 13:47:23 +00:00
ceriel
9cab0b0105
*** empty log message ***
1987-02-24 13:10:59 +00:00
ceriel
fef3cce6e0
solved some problems with include files
1987-02-24 10:54:20 +00:00
ceriel
45bffe9e26
solved a problem with include files
1987-02-24 10:49:54 +00:00
ceriel
4c11fded37
4/4, new C compiler
1987-02-24 10:15:46 +00:00
ceriel
bbcf72b0e4
4/4, new C cmpiler
1987-02-24 10:00:37 +00:00
em
eb02375ee5
do not generate .c files when cleaninmg up
1987-02-23 22:38:45 +00:00
em
7a946c5bf4
cleanup --> clean
1987-02-23 22:35:21 +00:00
ceriel
ca1655c25e
bug fixes:
...
- assignment operators for bit fields were wrong
- some conversions for characters were wrong
- result of assignment operator sometimes had wrong size
- character constant \377 was 255, not -1
- string constant generation was clumsy
1987-02-23 13:08:54 +00:00
ceriel
c6b3fb3aef
Initial revision
1987-02-23 09:22:33 +00:00
ceriel
a7c40760cd
Current results
1987-02-23 09:21:29 +00:00
ceriel
2d34e6f839
Delete temporary
1987-02-23 09:18:41 +00:00
ceriel
8a407d5ee9
remove temporary
1987-02-22 15:56:31 +00:00
ceriel
0c7c379d46
better versions, bug fixes in compiler
1987-02-22 15:28:26 +00:00
ceriel
428b24d51b
minor update
1987-02-13 15:30:27 +00:00
ceriel
2238500f22
Added "standard" entries, rerun mkdep
1987-02-13 15:27:35 +00:00
ceriel
b9be625e9b
Added a "-f" flag to the "rm"
1987-02-13 14:20:10 +00:00
ceriel
1706552f25
bug fix: csa descriptors contained upb instead of upb - lwb.
1987-02-11 16:05:25 +00:00
ceriel
55abae9d4f
*** empty log message ***
1987-02-11 15:41:09 +00:00
ceriel
a6d90aaeec
many bug fixes
1987-02-11 14:29:27 +00:00
ceriel
f18da9078c
when printing floats in "e"-format, trailing zeros are significant!
1987-02-11 12:47:45 +00:00
ceriel
e04aa9639e
Initial revision
1987-02-10 09:27:44 +00:00
ceriel
ad72edfa49
many changes: fixes and efficiency-oriented
1987-02-09 23:19:42 +00:00
ceriel
2f8580c380
replaced some more %D's
1987-02-09 22:48:14 +00:00
ceriel
1e0aef10d8
made to work on system V
1987-02-09 17:00:23 +00:00
ceriel
2556a95c48
make to work on System V
1987-02-09 16:57:40 +00:00
ceriel
6d1f518209
Remove .m files before recreating them. The existing ones might
...
have another owner, so that you cannot write them
1987-02-07 00:52:30 +00:00
ceriel
254364ca11
bug fix
1987-02-06 14:50:57 +00:00
ceriel
77f33b6762
did not work with bloody vax assemblerr
1987-02-06 14:44:56 +00:00
ceriel
102790400d
bug fix
1987-02-06 13:28:01 +00:00
ceriel
63af2a556b
bug fix
1987-02-06 11:09:26 +00:00
ceriel
17a2c4977e
bug fix
1987-02-06 10:37:09 +00:00
ceriel
010a311ab7
bug fixes
1987-02-05 21:36:42 +00:00
ceriel
3cddcb4482
typo
1987-02-05 21:07:09 +00:00
ceriel
775e473fb0
*** empty log message ***
1987-02-05 21:04:40 +00:00
ceriel
c6a224a6d1
output buffer is now called _sobuf
1987-02-05 20:56:06 +00:00
ceriel
c4b53d0710
buffer names: _sibuf and _sobuf
1987-02-05 20:54:27 +00:00
ceriel
060a309f82
array bound check added
1987-02-05 20:47:30 +00:00
ceriel
ac77d6c7fe
Bug fix
1987-02-05 20:39:11 +00:00
ceriel
46cfcbdf43
bug fix
1987-02-05 16:22:42 +00:00
ceriel
d76349f200
pdp instead of pdp11
1987-02-02 21:01:10 +00:00
ceriel
a8820459d5
obeyed a warning
1987-02-02 20:54:56 +00:00
ceriel
ae504890c7
bug fix
1987-01-30 09:45:41 +00:00
ceriel
c9fce4aff9
typo fix
1987-01-29 14:54:26 +00:00
ceriel
bc8229b952
don't use a sgttyb struct
1987-01-29 13:01:28 +00:00
ceriel
f3a6d7c3ce
correction of syntax error
1987-01-28 17:05:02 +00:00
ceriel
fc2e88758f
declaration of gmtime added
1987-01-28 17:02:56 +00:00
ceriel
d35a16c30f
Bug fix: %f did not work, if no width was specified
1987-01-28 16:52:16 +00:00
ceriel
f78cbc818f
Avoid bug in VAX assembler. But i don't know what is happening.
1987-01-28 16:22:30 +00:00
ceriel
212579440e
bug fix
1987-01-28 14:38:38 +00:00
ceriel
132ed11e0e
_doprint -->_doprnt
1987-01-28 14:28:45 +00:00
ceriel
c1bae75a85
Initial revision
1987-01-27 16:21:02 +00:00
ceriel
b5c4cd7a00
Initial revision
1987-01-27 15:57:55 +00:00
ceriel
8116e3181f
now uses alloc module, bug fixes, -N option under USE_TMP, to not do so
1987-01-24 00:25:56 +00:00
ceriel
493efb1bf7
added EX_SIDEEFFECTS, options['p'] --> ! options['L'], fixed some bugs
1987-01-14 09:58:51 +00:00
ceriel
ecf93dbf4f
made error in macro parameter count into a warning
1987-01-08 14:57:18 +00:00
ceriel
a92c8bf067
D_BUSY added, to check recursive deps in def modules
1986-12-16 15:22:33 +00:00
ceriel
33a89a8684
bug fix in LLlex.c, "string_token"
1986-12-16 14:30:33 +00:00
dick
78aaf2fd9d
some small changes, asm() yields error message
1986-12-13 20:57:40 +00:00
ceriel
cb6b68a05f
added nmclash.c, mods to Makefile/Resolve
1986-12-10 15:13:04 +00:00
ceriel
42162f7b37
simplified 0-padding, minor cosmetic changes
1986-12-10 12:00:55 +00:00
ceriel
fe2e67d1c6
minor fixes
1986-12-09 17:41:06 +00:00
erikb
8a95b29c86
added: file_info.h
1986-12-09 08:19:55 +00:00
erikb
ad5c92044c
corrected basename()
1986-12-08 08:58:21 +00:00
ceriel
53d6dfcb6b
version using input module and detecting preprocessor loops
1986-12-04 16:29:44 +00:00
ceriel
abc2ba9a3c
bug fix: size 0 error messages also appeared for labels
1986-12-02 11:39:34 +00:00
ceriel
c57d4ff268
some minor bug fixes
1986-12-01 10:06:53 +00:00
ceriel
ad40a77afd
handle void properly, avoid 0-alignments, handle #if defined(..)
1986-12-01 10:00:23 +00:00
ceriel
a0c21bf820
many bug fixes, and added flexibility in alignments
1986-11-28 11:59:08 +00:00
ceriel
da54801353
newer version
1986-11-26 16:40:45 +00:00
ceriel
596c631a71
Check more, when an error occurred
1986-11-17 13:08:18 +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
erikb
22d4d72ef4
adapted default IDEPTH value
1986-11-14 08:16:38 +00:00
erikb
ed106b7feb
removed the debug message for encountering STRING-type Values
1986-11-12 09:55:28 +00:00
erikb
d51281b576
updated the manual pages
1986-11-12 09:53:18 +00:00
erikb
f784236908
merged the vax and mantra versions
1986-11-11 13:47:58 +00:00
erikb
6f8b72bfb3
corrected the treatment of static functions declared on non-global level
1986-11-10 09:16:27 +00:00
erikb
3ebe2a7176
use programs and modules from ACK instead of local versions
1986-11-10 09:14:29 +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
f932863ee1
minor fix to LLlex.c
1986-10-21 14:45:43 +00:00
ceriel
5f638d7aac
newer version
1986-10-20 17:40:41 +00:00
ceriel
b8bb269c72
Replaced a few "bss 2" by "bss EM_WSIZE".
1986-10-20 11:28:29 +00:00
ceriel
256847556e
Added a NOFLOAT define. (Taken from Koen Langendoen)
1986-10-13 14:42:31 +00:00
ceriel
591a0db767
Removed the "wordsize" variable. it was'nt needed, as we also have
...
EM_WSIZE.
1986-10-09 11:44:28 +00:00
ceriel
ec2b3e61c6
Addition of some changes by Kees Visser.
...
In packed structures, subrange types now occupy 1 byte if they fit in
1 byte, they occupy 2 bytes if they fit in 2, etc.
1986-10-09 11:09:27 +00:00
ceriel
9d54fe57f8
Changed a test that was word_size and alignment dependant.
1986-10-09 10:37:56 +00:00
ceriel
3030eb8cae
newer version
1986-10-06 20:36:30 +00:00
erikb
5af21dfc79
modified the treatment of op=, ++ and -- operators
1986-09-29 14:01:34 +00:00
erikb
42112db262
modified the treatment of op=, ++ and -- operators
1986-09-29 13:16:11 +00:00
dick
66c247ba9c
some very minor changes
1986-09-28 20:33:15 +00:00
ceriel
c3d4d40d1b
many bug fixes
1986-09-25 19:39:06 +00:00
erikb
c967d1ab3a
put heavily used pointer variables in registers
1986-09-24 13:53:16 +00:00
erikb
f21743e213
if NOPP: made #line directives treated correctly
1986-09-22 13:04:04 +00:00
erikb
dad1ab3b22
some minor fixes
1986-09-17 12:31:45 +00:00
erikb
a968ce8437
changed some large static data structures into STATIC
1986-09-15 08:47:53 +00:00
erikb
225f1fb724
added one byte to ibuf
1986-09-12 12:58:22 +00:00
erikb
c6a51a39f0
built in the compile time flag NOFLOAT to get rid of the float stuff
1986-09-12 09:16:07 +00:00
erikb
ecf5219493
corrected the treatment of the <<= and >>= operators
1986-09-10 10:23:26 +00:00
erikb
b9bce39f1e
simplified the return expression in loadbuf()
1986-09-09 13:49:46 +00:00
erikb
d7716c5e5a
corrected the compile-time evaluation of ~<unsigned value>
1986-09-09 09:47:43 +00:00
erikb
5927f264a8
various null-dereference problems fixed
1986-09-02 15:22:54 +00:00
erikb
c84c57be67
added some LINT facilities
1986-09-02 15:00:50 +00:00
erikb
361613bb23
first operand to intexpr is arith typed
1986-08-26 14:59:36 +00:00
ceriel
a0db745586
newer version with bug fixes
1986-08-26 14:33:24 +00:00
erikb
e1c67b1fba
unknown-sized locals retain their type
1986-08-26 10:30:39 +00:00
erikb
901d1b3af8
generate a con instruction for each character in a string constant
1986-08-25 08:47:07 +00:00
erikb
fc9f365b47
some minor bugs
1986-08-22 09:20:13 +00:00
erikb
06c0a20b4d
made less environ and machine dependent
1986-08-22 09:10:12 +00:00
erikb
a7e97524e4
revised the treatment of "e op= f" expression
1986-08-13 10:05:39 +00:00
erikb
8217bef1eb
added some #ifdef USE_TMP lines
1986-07-29 12:49:38 +00:00
erikb
7f74cabf12
added -T<path> option: create temporary file(s) in directory <path>
1986-07-29 11:46:00 +00:00
ceriel
4f3b82565f
Added code to use different integer constants when compiled with
...
word_size >= 4.
1986-07-21 12:26:38 +00:00
ceriel
83d21d8076
Added instructions to make pem44.m
1986-07-21 09:40:20 +00:00
ceriel
d0fdcb18db
This is the result of the merging of 2.5 with 2.4.1.1, with some
...
minor fixes.
1986-07-21 09:30:11 +00:00
ceriel
5fd9c608ed
Temporary variables are no longer overlapping. The operlapping caused
...
problems with register variables.
Also, code is added to prevent the generation of static exchanges.
only included if the preprocessor-constant
NO_EXC is defined.
1986-07-21 09:23:39 +00:00
dick
3434e1c53f
some leaks plugged (as detected by the leak detector)
1986-07-18 22:23:23 +00:00
dick
824293a681
some leaks plugged (as detected by the leak detector)
1986-07-18 21:10:42 +00:00
dick
c9a188825d
option NORCSID for lint in Makefile is nonsense
1986-07-17 22:17:59 +00:00
ceriel
d5a95fcac0
Some bug fixes
1986-07-14 15:00:08 +00:00
ceriel
832bdeb3be
better compatibility between CARDINAL and ADDRESS
1986-07-10 16:27:26 +00:00
ceriel
965e75761d
newer version
1986-07-08 14:59:02 +00:00
ceriel
bcfca75b56
newer version
1986-06-26 09:39:36 +00:00
ceriel
9932033365
newer version
1986-06-20 14:36:49 +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
7a9d436a56
newer version
1986-06-06 09:35:11 +00:00
ceriel
caf99ea472
newer version
1986-06-06 02:22:09 +00:00
ceriel
9e0ab0029b
first, almost complete, version
1986-06-04 09:01:48 +00:00
ceriel
db795bc07a
newer version
1986-05-30 18:48:00 +00:00
ceriel
6382054ae5
newer version
1986-05-28 18:36:51 +00:00
erikb
441ba991fa
revised the type checking of expr in "switch (expr)"
1986-05-28 08:40:06 +00:00
ceriel
f56f8f56f3
newer version
1986-05-23 19:25:21 +00:00
ceriel
1cfe2b5dac
newer version
1986-05-23 09:46:31 +00:00
ceriel
0f04bc72bd
newer version
1986-05-21 18:32:20 +00:00
ceriel
a4887558b8
newer version
1986-05-16 17:15:36 +00:00
ceriel
15896e422c
newer version
1986-05-14 09:03:51 +00:00
ceriel
0bf57a9c64
newer version
1986-05-01 19:06:53 +00:00
ceriel
53e3cd60d0
newer version
1986-04-28 18:06:58 +00:00
erikb
dd5b8dfabf
various small layout corrections
1986-04-28 09:56:33 +00:00
ceriel
4173e3c487
newer version
1986-04-25 10:14:08 +00:00
ceriel
a254a8acb1
newer version
1986-04-23 22:12:22 +00:00
ceriel
ce160b4f1a
newer version
1986-04-22 23:22:19 +00:00
ceriel
fef8659bf1
newer version
1986-04-22 22:36:16 +00:00
ceriel
674791bf91
newer version
1986-04-21 17:27:06 +00:00
ceriel
6715e3b171
newer version
1986-04-18 17:53:47 +00:00
erikb
53255dcf48
various small corrections
1986-04-17 14:42:54 +00:00
ceriel
d3d6e637d6
newer version
1986-04-17 09:28:09 +00:00
ceriel
426c273de8
newer version
1986-04-15 17:51:53 +00:00
ceriel
7d76f2829a
newer version
1986-04-12 02:21:24 +00:00
ceriel
64a9f1e5d7
newer version
1986-04-11 11:57:19 +00:00
ceriel
ba47f9fe7c
newer version
1986-04-10 01:08:49 +00:00
ceriel
d1a2112163
safety commit
1986-04-09 18:14:49 +00:00
ceriel
b853ce1546
newer version
1986-04-08 23:51:11 +00:00
ceriel
6ff4d852e1
newer version
1986-04-08 23:34:10 +00:00
ceriel
629b8fdb88
newer version
1986-04-08 18:15:46 +00:00
ceriel
3de71150a6
newer version
1986-04-07 22:15:08 +00:00
ceriel
f2b68c8261
newer version
1986-04-07 17:40:38 +00:00
ceriel
376c47c98f
newer version, partial parse trees
1986-04-06 17:42:56 +00:00
ceriel
0e4311490c
A newer version
1986-04-04 13:47:04 +00:00
erikb
b5e1097890
corrected the treatment of PREDEF-ed macros
1986-04-04 11:31:03 +00:00
erikb
bb8d6b5143
revised the treatment of strings in initialisations
1986-04-04 09:54:50 +00:00
ceriel
c8453bb3f7
newer version, safety commit
1986-04-03 17:41:26 +00:00
erikb
4c75213caa
adapted to print(3L) module
1986-04-03 14:32:56 +00:00
erikb
725d3fa6ea
revised check_ival() (among some other small changes)
1986-04-03 11:33:32 +00:00
ceriel
52d743f223
Newer version, safety commit
1986-04-03 00:44:39 +00:00
ceriel
b89155a64a
newer version, safety commit
1986-04-02 17:34:21 +00:00
erikb
66c571d217
revised the administration of Value expressions
1986-04-02 08:37:17 +00:00
ceriel
fac31cce07
Newer version, safety commit
1986-03-29 01:04:49 +00:00
dick
ad1feaf35c
expression nodes now can have a flag EX_ERROR
1986-03-27 18:17:48 +00:00
ceriel
f2764393be
safety commit, newer version
1986-03-27 17:37:41 +00:00
erikb
5bdb108e47
modified the string-constant printing routines; bts2str() is invoked
1986-03-27 11:01:12 +00:00
ceriel
f2ff7661e4
safety commit, newer version
1986-03-26 22:46:48 +00:00
ceriel
4a91a6bf4b
newer version, safety commit
1986-03-26 17:53:13 +00:00
erikb
e8505e4434
introduced the string(3L) module
1986-03-26 16:58:43 +00:00
ceriel
7f174a46c3
A newer version, safety commit
1986-03-26 15:11:02 +00:00
dick
8546fbe868
identifier pfd_type renamed to fdtpp
1986-03-26 14:01:10 +00:00
erikb
80155f7b4c
introduced the em_code(3L) and em_mes(3L) modules
1986-03-25 16:40:43 +00:00
erikb
1afbf0e20f
adapted to the system(3L) interface
1986-03-25 10:39:23 +00:00
ceriel
0e39681621
some improvements
1986-03-24 17:29:57 +00:00
erikb
0d63470af3
fixed a garbage collection problem
1986-03-21 13:26:28 +00:00
ceriel
b683a21217
Initial version
1986-03-20 14:52:03 +00:00
erikb
9f8f8c1a9c
fixed a bug in check_*_expr()
1986-03-20 13:09:47 +00:00
erikb
ea73b04ef3
improved lay-out
1986-03-19 16:07:32 +00:00
erikb
f14b5ead0e
Added C_init(), an empty-bodied routine
1986-03-19 12:36:02 +00:00
erikb
48cbb00cbe
Recovered from some inconsistencies.
1986-03-19 12:31:05 +00:00
erikb
fe073353c0
last modifications in order to introduce the EM library mechanism
1986-03-18 09:01:59 +00:00
dick
5880700ab4
some long lines split
1986-03-17 17:47:04 +00:00
dick
021d8d1fec
more calls of expr_error() for better error reporting
1986-03-15 18:16:30 +00:00
dick
c80f2c0817
improved error reporting for initialization expressions
...
miscellaneous changes
1986-03-14 16:15:16 +00:00
erikb
6e53274b6a
simplified the EM con/rom functions (86/03/13)
1986-03-13 13:27:44 +00:00
erikb
43e75cec60
renamed some EM code functions according to the 86/03/11 EMCODE definition
1986-03-11 15:21:30 +00:00
erikb
4b2ac75e94
added the possibility to prepend your own libc.a before the default
1986-03-11 14:46:46 +00:00
erikb
5f734a6210
removed a reference to declarator.str
1986-03-10 15:59:43 +00:00
erikb
c0becb6dc7
Introduced the ALLOCDEF mechanism
1986-03-10 15:20:30 +00:00
erikb
3dbb828d82
Introduction of ALLOCDEF
1986-03-10 15:18:00 +00:00
erikb
69e7c2d0ae
introduced the ALLOCDEF mechanism
1986-03-10 15:16:33 +00:00
erikb
5d1e9f0c86
renamed declarator.h as declar.h
1986-03-10 15:10:56 +00:00
erikb
787061ffd4
*** empty log message ***
1986-03-10 13:15:40 +00:00
erikb
bc296e2dcc
*** empty log message ***
1986-03-10 13:07:55 +00:00
keie
7606d347a0
Added a warning message.
1986-02-11 11:18:57 +00:00
dick
d112eb710c
adapted to phototypesetter
1986-01-20 20:39:09 +00:00
bal
57a2371a16
bug fixed: null-pointer dereference.
1985-08-13 14:03:23 +00:00
keie
6de8b41da2
*** empty log message ***
1985-06-19 13:42:49 +00:00
keie
e3fa99632e
Corrected parameter name usage from i to d.
1985-03-26 17:03:30 +00:00
keie
41d580c9cf
Added some comment.
1985-02-18 01:06:58 +00:00
keie
ec46d547c4
Made use of apc and acc where assuming results
...
can be run on own system explicit.
1985-02-18 01:03:51 +00:00
keie
43a2b60360
*** empty log message ***
1985-02-16 22:09:05 +00:00
em
ca28f34c8e
*** empty log message ***
1985-02-15 23:13:04 +00:00
em
625c309fa6
1985-02-15 23:12:16 +00:00
em
9f3928cd3a
Adapted to -DNOFLOAT.
1985-02-15 23:11:30 +00:00
em
a65f05f29f
Adapted to NOFLOAT.
1985-02-15 23:10:04 +00:00
em
eb2b9d0bac
Removed one error.
1985-02-15 14:37:35 +00:00
em
792d315beb
Program was adapted with NOFLOAT flag.
1985-02-15 14:23:34 +00:00
em
04e454d3c6
Added RCS id.
...
Adapted to use the NOFLOAT cpp flag.
1985-02-15 14:20:04 +00:00
em
b6381fad79
The cho worked incorrectly, thereby causing the whole test to fail.
1985-02-13 00:41:16 +00:00
em
c9eb48d373
Removed the use of float from the test.
...
Using int's in sqrt gives the same result.
1985-02-12 23:27:23 +00:00
em
67d635ccd4
1985-02-12 23:07:22 +00:00
em
f37307bc06
A slightly different message.
1985-02-12 23:07:05 +00:00
keie
cc4f8a793a
Initial revision
1985-02-12 12:28:49 +00:00
keie
43f003e959
Removed a few typos.
1985-02-08 16:54:34 +00:00
keie
ba1e51e914
Deleted a line with a statement unknown to this compiler.
1985-02-08 15:41:19 +00:00
keie
66875f1bde
Looks more reasonanle now.
1985-02-08 13:21:23 +00:00
keie
8a7ee2ea50
Now calling trace with the current line number as parameter.
1985-02-08 13:18:26 +00:00
keie
e9850f2691
Improved.
1985-02-08 13:12:51 +00:00
em
1b36afae36
Added a line about the presence of out.std
1985-02-06 21:31:51 +00:00
em
0ff3a17f5e
Initial revision
1985-02-06 21:25:27 +00:00
keie
d7abe0e8b6
Initial revision
1985-02-06 21:06:03 +00:00
keie
a50f8ebe1c
Placed the include files in {EM_HOME}/h/bc_.....
1985-02-04 22:18:16 +00:00
keie
da898f1325
*** empty log message ***
1985-02-04 14:31:17 +00:00
keie
1e38fa0573
*** empty log message ***
1985-02-04 14:26:13 +00:00
keie
5a6676cc53
Prevent the existence of pem2[24].p to frustate the ln and thus
...
the whole exercise.
1985-02-04 02:53:18 +00:00
keie
df168727a6
The effect of the .distr entry is now done by the
...
mktree process from /usr/em/distr2.
1985-02-03 23:18:06 +00:00
keie
1f56b2aa4c
1 - Changed incorrect execution line for callc/modc
...
2 - Added several sources to 'pr' entry, for printing.
1985-01-31 10:53:59 +00:00
em
cf3d3ad287
Also remove all *.e and *.d files when cleaning up.
1985-01-25 16:19:13 +00:00
keie
1bc30e42eb
Strings in rom are initialized with usage count 9999.
...
decstr does not touch these at all.
1985-01-25 14:40:51 +00:00
keie
e271d9bbb8
Strings in rom are initialized with usage count 9999 i.s.o. 1.
...
String with that usage count are not touched any way at all.
1985-01-25 14:34:50 +00:00
keie
6d344b6702
The program name is used to set the name
...
of the file were the contents of data statements are written.
The filename is extracted from the path and the suffix (if present)
is replaced by .d.
1985-01-25 11:04:18 +00:00
keie
8fa5a7b668
The parametrs passed to the call to opnchn when initializing are now
...
correct string descriptors.
Programs with data statements used to crash with TRAP TYPE 11.
1985-01-25 09:57:04 +00:00
keie
d12fef6c05
The non-flag arguments are now passed by position.
...
The order is : (bem) input output program-name.
1985-01-25 09:55:28 +00:00
em
ed1ee8a3b4
Removed test18 because it is in essence a busy loop.
1985-01-24 22:34:31 +00:00
em
3bb153d6bb
Added executable files to list of those to cleanup.
1985-01-24 21:27:32 +00:00
em
df08133a04
Added entry "clean" for cleanup.
1985-01-24 21:25:57 +00:00
keie
06087a6bc3
*** empty log message ***
1985-01-24 17:39:54 +00:00
em
58c5d2d8ac
Changed the line numbered 19 into a line numbered 190.
...
This seemed the correct thing to do.
1985-01-24 11:34:12 +00:00
em
410800127c
*** empty log message ***
1985-01-24 11:27:36 +00:00
em
8bdec01d71
Now using opder recommanded by 'lorder'.
1985-01-22 02:17:13 +00:00
keie
7556180ab3
Printf does not return a truth value for failure.
...
These -incorrect- tests were replaced by calls to ferror.
1985-01-21 23:58:07 +00:00
keie
68644410fb
Added correct declaration of salloc, thereby preventing incorrect conversions.
...
Removed now unnecessary casts from salloc to (char *).
Added a cast to (char *) for the argument of sfree in the second call.
1985-01-21 23:56:10 +00:00
keie
c2e988c3d5
1 - Changed argument from int to unsigned.
...
2 - The test for a failed malloc is changed from comparison to -1
to comparison to 0.
1985-01-21 23:54:46 +00:00
keie
d4a597912f
Tests for EOF returned by stdio routines need the full int width.
1985-01-21 23:53:41 +00:00
keie
682e5d9b8a
Removed casts made superfluous by adding newstr to string.h
1985-01-21 23:53:01 +00:00
keie
f7027ba7e4
Test for EOF returned by stdio routines have to use the full int width.
1985-01-21 23:52:19 +00:00
keie
52a627589a
Removed cast made superfluous by added newstr to string.h
1985-01-21 23:51:33 +00:00
keie
5fc9fdf795
Added test for outcome of request for more core.
...
If no more core is available a fatal error message is produced.
1985-01-21 23:48:06 +00:00
keie
8f81c858f8
Due to an 8 character identifier length limitation the identifier
...
"strcompare" is changed into "strcomp".
1985-01-21 14:52:34 +00:00
keie
6a21488f0c
Due to an 8 character identifiers limitation calls in EM
...
the identifier "randomize" was changed into "randomi".
1985-01-21 14:51:29 +00:00
keie
374ac8b21c
Due to an 8 character identifiers limitation on EM calls to
...
"setchannel" were changed into "setchan" and the identifier
"seektable" is replaced by "seektab".
1985-01-21 14:50:12 +00:00
keie
770f321ea8
Changed calls to "setrandom" into calls to "setrand" and
...
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
1985-01-21 14:48:16 +00:00
keie
decda89fba
Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints.
1985-01-21 14:30:55 +00:00
keie
ff46181ae0
1 - Changed the defintion of a local 's' into 'Sym' to avoid naming conflict.
...
2 - Added .integer, .Sptr and .cptr at appropiate places to uses of yylval.
3 - Removed unnecessary casts.
4 - Added a few /*NOSTRICT*/ comments to indicate awareness of lint
complaints.
1985-01-21 14:26:29 +00:00
keie
dbb0d46ac2
1 - Added comment to indicate awareness of lint complaints.
...
2 - Added/Removed some casts used with core allocation/deallocation.
1985-01-21 14:23:49 +00:00
keie
d53ef52028
Changed the argument of salloc from an int into an unsigned.
...
Just to shut up lint.
1985-01-21 14:22:07 +00:00
keie
a91ff9e04b
Added a declaration of gosublabel.
1985-01-21 14:21:52 +00:00
keie
56a8cd53b6
Added a few comments to indicate awareness of lint complaints.
1985-01-21 14:20:11 +00:00
keie
0c2aee4835
1 - Removed definition of POINTERSIZE.
...
2 - Defined void as int, some compilers don't know void.
3 - Added declarations of the routines proclabel, salloc, strcpy, strcat, malloc.
1985-01-21 14:18:47 +00:00
keie
309bbef3ea
Now using a union for YYSTYPE and typed (non-)terminals.
...
Changed values $n(intvalue) to ival in definition of filelist.
Changed one asp,$n(midparms) into several asp,...SIZE in the definition
that uses MIDSYM.
1985-01-21 14:15:06 +00:00
keie
71cbd2c92f
1 added lint entry.
...
2 changed calls to cc into $(CC)
1985-01-21 14:14:22 +00:00
em
9479f61318
Now using correct RCS identification
1985-01-21 12:47:04 +00:00
em
8d02182e12
Renaming due to 8 character C compiler limit.
1985-01-21 12:37:26 +00:00
em
aef211ad4e
Used a correct definition of malloc.
1985-01-21 12:35:53 +00:00
em
6512a304a0
Checking in Martin's changes.
1985-01-17 14:10:27 +00:00
keie
d19105ef78
Added the test program for the C<=>Pascal interface.
1985-01-17 12:43:51 +00:00
keie
f9b105e07a
*** empty log message ***
1985-01-17 12:43:04 +00:00
keie
959138af97
The previous fix produced an array in which the values were one off.
...
This has been fixed.
1985-01-11 13:42:51 +00:00
keie
c61ea7ee53
*** empty log message ***
1985-01-11 13:20:36 +00:00
keie
22e4268cc7
The recursive call of setp1 initialized elements 0...ASIZE.
...
This is out of bounds and now altered into 0..ASIZE-1.
1985-01-11 13:17:26 +00:00
keie
e2c5191f0c
*** empty log message ***
1985-01-11 13:13:56 +00:00
keie
26f38cada3
*** empty log message ***
1985-01-01 22:33:43 +00:00
keie
c235c1a93d
*** empty log message ***
1985-01-01 22:27:02 +00:00
keie
d16efbab98
*** empty log message ***
1985-01-01 22:19:09 +00:00
em
7ac377c750
The routine salloc crashed on a 2/4 system.
...
Malloc was nor declared as "char *", but by default as int.
1984-11-30 00:16:29 +00:00
em
ad104f9164
I removed the unused integer deftype.
...
Its name collided with an array in symbols.c.
1984-11-29 17:27:00 +00:00
em
1b8f41d3b2
The definitions of lastline, currline and firstline are made
...
extern in graph.h. The space reserving declaration is made in
graph.c.
1984-11-29 17:26:44 +00:00
em
f6da80afd8
The first line should contain the distribution library name.
1984-11-29 15:03:41 +00:00
em
ae1e81adb1
*** empty log message ***
1984-11-29 14:22:02 +00:00
em
39c37e9571
1 - Added RCS identification.
...
2 - Changed the file name parseparams.c into parsepar.c, the original
name was too long for RCS under BSD4.1
3 - Adapted to ACK standard Makefile format(cmp,install,...)
4 - Included more dependencies.
1984-11-27 23:53:31 +00:00
em
9f872a7ea0
Removed conflict between rcs_id in basic.yacc and lex.c.
1984-11-27 23:41:46 +00:00
em
ea5498cd99
Now using ACK default tmp directory from em_path.h.
1984-11-27 23:21:41 +00:00
em
455cd930ec
Added RCS identification.
1984-11-27 23:13:28 +00:00
em
335d55ff4a
The version of basic copied from Martin Kerstens directory.
1984-11-27 22:23:55 +00:00
em
4301dfb7bf
The version of basic copied from Martin Kerstens directory.
1984-11-27 22:11:59 +00:00
keie
3c2c03165b
This manual page was not included in the first distribution.
...
This version is hacked from the VU-Pascal distribution.
1984-11-26 15:56:57 +00:00
keie
4c0687f68b
Altered to reflect the changes in em_path.h.
...
Now dynamically concatenes EM_DIR and error path.
1984-10-04 10:42:13 +00:00
bal
68a6231d11
pem did not generate a register message for var-parameters of
...
array- or record type. The routine "treewalk" is modified.
It generates a register message for every var-parameter, even
if it has its noreg-flag set.
1984-09-12 13:21:43 +00:00
sater
afc577b6c7
When building the parameter list for a pf-call, the line number
...
for the exchanges war remembered at the wrong time.
This caused:
foo(3,'string')
to cause an external identifier for the string. Fixed.
1984-07-31 09:39:35 +00:00
sater
c2f383773d
added copyright notice
1984-07-20 13:54:36 +00:00
sater
ebc7a50d8f
added rcsid
...
adapted to new archive updating style, with LIST and march and all that
1984-07-20 11:32:47 +00:00
sater
98c1d6868f
Initial revision
1984-07-20 11:25:31 +00:00
sater
c99e75a01b
added rcsid
1984-07-20 11:25:18 +00:00
sater
bb4210de79
added copyright notice
1984-07-20 11:20:12 +00:00
sater
b410ca7f8c
removed copyright notice, wasn't really *written* by us.
1984-07-20 11:07:12 +00:00
sater
25a8908e26
added rcsid
1984-07-20 11:03:31 +00:00
sater
597d25decd
Initial revision
1984-07-20 10:44:57 +00:00
sater
17a12c0bd7
added -f flags to all calls to rm
1984-07-16 15:29:48 +00:00
sater
70c85c09b9
*** empty log message ***
1984-07-12 14:08:27 +00:00
sater
1eaf02a3e1
added rcsid
1984-07-12 14:07:14 +00:00
sater
10b9e1a748
added rcsid
...
added compilation of tstgto.p
1984-07-12 14:05:03 +00:00
sater
381355408e
Initial revision
1984-07-12 13:50:44 +00:00
sater
4001b657db
Removed unbalanced quotes in comments, needed for new cpp
1984-07-12 10:50:47 +00:00
sater
35f8666be0
added rcsid
...
added comment
fixed bug, to make pem22 and pem24 you use pdp and vax2 iso vax2 and vax4
1984-05-21 16:33:30 +00:00
sater
3a26869fa3
Initial revision
1984-05-21 16:30:36 +00:00
sater
5e14a39844
Initial revision
1984-05-21 16:04:57 +00:00
sater
0dc5d2c310
Added output of mes ms_gto
...
Fixed bug:
The frontend generated a mes ms_reg for the local temp where
the stackpointer was kept in destination procedures for
a non local goto. This was wrong.
1984-05-21 11:29:48 +00:00
sater
0796d79a9a
Initial revision
1984-05-21 11:26:57 +00:00