Commit graph

462 commits

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