Commit graph

239 commits

Author SHA1 Message Date
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