Commit graph

3555 commits

Author SHA1 Message Date
ceriel 0bb9c9b5a5 removed extra DUP rule. It was wrong after all 1988-11-10 15:38:50 +00:00
ceriel 09cc81f5b5 Use the system module for error messages 1988-11-10 13:46:53 +00:00
ceriel 19dad4482b fixed to generate only external commons. This cannot be done in common.c
because an external could later be declared static, and a static could later
be declared external.
1988-11-10 13:16:22 +00:00
ceriel d6dfd5d1ad fixed to generate only external commons 1988-11-10 13:01:15 +00:00
ceriel f210ef4f8e fixed problem with DUP: it also dupped tokens with side-effects 1988-11-09 15:49:29 +00:00
ceriel 11dee74e80 Initial revision 1988-11-08 14:09:24 +00:00
ceriel 246554a0b1 changes in search for more speed 1988-11-08 13:47:18 +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 15e885ac8d produce better code for EXG 1988-11-07 09:35:47 +00:00
ceriel af5ed82bff included changes from Andy Michael 1988-11-07 09:24:36 +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 f8a3f67ddb Added new line after trap message 1988-11-04 09:55:50 +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 0e895422bc removed include: was already done in nopt.h 1988-11-03 10:03:45 +00:00
ceriel cfa5eafd3d fixed typo 1988-11-02 16:33:56 +00:00
ceriel 8cd2051b2e modifications in search for more speed 1988-10-31 16:03:44 +00:00
ceriel 8fab3192b6 modyfications in search for more speed 1988-10-31 15:54:54 +00:00
ceriel 7851ff900f many modyfications in search for more speed 1988-10-31 15:42:15 +00:00
ceriel 63f793aff3 modyfied to generate only one switchseg for each C_ routine 1988-10-31 15:21:47 +00:00
ceriel 0011c49d1e many changes, in search for more speed 1988-10-31 15:02:39 +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 7a6913dea1 some minor improvements 1988-10-28 13:37:48 +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 cfd6bca270 some fixes 1988-10-24 10:35:17 +00:00
ceriel e71c873fc1 moved comment 1988-10-21 17:35:54 +00:00
ceriel 0d9daaa18d changed assert macro to also work with ANSI C compilers 1988-10-21 17:34:20 +00:00
ceriel 416020b5bd fixed minor problem with subranges 1988-10-21 17:24:34 +00:00
ceriel ba1c1a82d7 patches to make more suitable for push-pop optim 1988-10-20 15:08:59 +00:00
ceriel dc5a744d8d some minor changes 1988-10-20 14:33:55 +00:00
ceriel e0fc646222 Many changes:
- added floating point
- improved assembler part, now uses short encodings when possible
- reduced generated relocation - and name table
1988-10-20 14:21:37 +00:00
ceriel b61011fba9 use common() when possible 1988-10-20 13:28:02 +00:00
ceriel 163bbc5845 switch to text segment before generating the label 1988-10-20 13:23:52 +00:00
ceriel f69a7e3e5d many changes, mostly for efficiency 1988-10-20 13:06:10 +00:00
ceriel a281cc38a4 Added common() routine 1988-10-20 13:01:04 +00:00
ceriel 666367e328 Added obj_back/common.c 1988-10-20 12:59:21 +00:00
ceriel 497792f739 Use varargs.h for routine with variable number of args 1988-10-20 12:57:32 +00:00
ceriel 153a94aad4 Added missing filenames 1988-10-20 12:56:08 +00:00
ceriel ed651bbd04 some fixes:
- use Malloc, Realloc instead of malloc, realloc
- generate common for un-initialized bss
- removed null-reference
1988-10-20 12:55:02 +00:00
ceriel 0ba4588be1 Changed name of compiler to m2 1988-10-19 16:44:01 +00:00