Commit graph

616 commits

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