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
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
dick
429d527a64
more and better declarations in c.llb
1989-02-10 16:46:01 +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
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
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
15377abec5
Fix from Lindsey: changed CURRDIR mechanism to make it work on SunOs 4.0
1988-11-24 11:29:14 +00:00
ceriel
6ac798b50c
removed tab.c, use tabgen
1988-11-16 11:23:58 +00:00
ceriel
090f27251e
fixed typo
1988-11-15 11:30:47 +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
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
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
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
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
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
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
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
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
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
84acaa1163
distribute Makefile
1988-07-26 19:08:46 +00:00
ceriel
fabf37e889
declared errno
1988-07-26 13:04:24 +00:00
ceriel
e98a670850
fixed typo
1988-07-25 12:30:52 +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
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
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
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
c2af3d7faa
allow for three digits in exponent
1988-07-01 11:56:08 +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
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
781a1218a5
only increment line number on ASCII LF
1988-05-03 11:30:25 +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
23aca9118e
improved clean entry
1988-04-29 09:22:57 +00:00
ceriel
2a11727622
updated to current situation
1988-04-28 13:38:24 +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
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
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
5f4707b280
improved comments; should now be understandable for anyone who knows EM
1988-04-21 10:08:56 +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
35e749a72f
Added id.sed
1988-04-18 10:23:45 +00:00
ceriel
9dbd7bdcf5
check for total size of locals and parameters
1988-04-15 17:25:01 +00:00
ceriel
d1fee09721
Use varargs where needed
1988-04-15 15:07:51 +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
eddb43c08e
catch possibly occurring trap with stores in the HP
1988-04-11 12:51:22 +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
4b79636b8f
fixed a problem with #ifdef/#else/#endif
1988-03-08 11:42:00 +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
b19a178e2e
fixed a bug with string-initializers
1988-01-25 16:14:01 +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
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
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
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
cf0852c846
print initializer expression before call to code_declaration
1987-11-04 16:30:02 +00:00
ceriel
867232a244
fixed some minor problems
1987-11-02 17:59:18 +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
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
5c7379738b
Some minor adaptions
1987-10-15 12:59:03 +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
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
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
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
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
19e580bdc9
fixed a typo
1987-07-22 09:12:47 +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
e0f737c293
include <sys/time.h> on 4.2 systems
1987-07-17 09:38:18 +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
fbf67d7a29
some fixes
1987-07-10 09:06:19 +00:00
ceriel
85421efb19
Bug fix: ch7sel should call any2opnd
1987-07-06 18:24:46 +00:00
ceriel
d41028a664
pass EMHOME to nested make
1987-06-30 18:30:45 +00:00
ceriel
02044d1d3f
fixed bug
1987-06-12 19:10:12 +00:00
ceriel
1fb8da7a02
bug fix in local extern-declarations, some other minor changes
1987-06-01 10:17:29 +00:00
ceriel
5696478540
Added some 'register' to declarations
1987-05-25 09:13:12 +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
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
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
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
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
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
bac2a42c82
added estack.str, minor fix
1987-03-26 15:32:26 +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
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
5fe6bf0fcd
made to work on pdp-11
1987-03-18 09:35:31 +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
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
2fba9c579e
Added exit to main program of tab.c
1987-03-09 13:19:38 +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
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
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
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
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
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
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
42162f7b37
simplified 0-padding, minor cosmetic changes
1986-12-10 12:00:55 +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
ad40a77afd
handle void properly, avoid 0-alignments, handle #if defined(..)
1986-12-01 10:00:23 +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
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
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
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
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
erikb
441ba991fa
revised the type checking of expr in "switch (expr)"
1986-05-28 08:40:06 +00:00
erikb
dd5b8dfabf
various small layout corrections
1986-04-28 09:56:33 +00:00
erikb
53255dcf48
various small corrections
1986-04-17 14:42:54 +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
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
erikb
66c571d217
revised the administration of Value expressions
1986-04-02 08:37:17 +00:00
dick
ad1feaf35c
expression nodes now can have a flag EX_ERROR
1986-03-27 18:17:48 +00:00
erikb
5bdb108e47
modified the string-constant printing routines; bts2str() is invoked
1986-03-27 11:01:12 +00:00
erikb
e8505e4434
introduced the string(3L) module
1986-03-26 16:58:43 +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
erikb
0d63470af3
fixed a garbage collection problem
1986-03-21 13:26:28 +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
6de8b41da2
*** empty log message ***
1985-06-19 13:42:49 +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
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
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
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
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
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