Commit graph

345 commits

Author SHA1 Message Date
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
keie 6de8b41da2 *** empty log message *** 1985-06-19 13:42:49 +00:00
keie e3fa99632e Corrected parameter name usage from i to d. 1985-03-26 17:03:30 +00:00
keie 41d580c9cf Added some comment. 1985-02-18 01:06:58 +00:00
keie ec46d547c4 Made use of apc and acc where assuming results
can be run on own system explicit.
1985-02-18 01:03:51 +00:00
keie 43a2b60360 *** empty log message *** 1985-02-16 22:09:05 +00:00
em ca28f34c8e *** empty log message *** 1985-02-15 23:13:04 +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 eb2b9d0bac Removed one error. 1985-02-15 14:37:35 +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
keie 43f003e959 Removed a few typos. 1985-02-08 16:54:34 +00:00
keie ba1e51e914 Deleted a line with a statement unknown to this compiler. 1985-02-08 15:41:19 +00:00
keie 66875f1bde Looks more reasonanle now. 1985-02-08 13:21:23 +00:00
keie 8a7ee2ea50 Now calling trace with the current line number as parameter. 1985-02-08 13:18:26 +00:00
keie e9850f2691 Improved. 1985-02-08 13:12:51 +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 a50f8ebe1c Placed the include files in {EM_HOME}/h/bc_..... 1985-02-04 22:18:16 +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 5a6676cc53 Prevent the existence of pem2[24].p to frustate the ln and thus
the whole exercise.
1985-02-04 02:53:18 +00:00
keie df168727a6 The effect of the .distr entry is now done by the
mktree process from /usr/em/distr2.
1985-02-03 23:18:06 +00:00
keie 1f56b2aa4c 1 - Changed incorrect execution line for callc/modc
2 - Added several sources to 'pr' entry, for printing.
1985-01-31 10:53:59 +00:00
em cf3d3ad287 Also remove all *.e and *.d files when cleaning up. 1985-01-25 16:19:13 +00:00
keie 1bc30e42eb Strings in rom are initialized with usage count 9999.
decstr does not touch these at all.
1985-01-25 14:40:51 +00:00
keie e271d9bbb8 Strings in rom are initialized with usage count 9999 i.s.o. 1.
String with that usage count are not touched any way at all.
1985-01-25 14:34:50 +00:00
keie 6d344b6702 The program name is used to set the name
of the file were the contents of data statements are written.
The filename is extracted from the path and the suffix (if present)
is replaced by .d.
1985-01-25 11:04:18 +00:00
keie 8fa5a7b668 The parametrs passed to the call to opnchn when initializing are now
correct string descriptors.
Programs with data statements used to crash with TRAP TYPE 11.
1985-01-25 09:57:04 +00:00
keie d12fef6c05 The non-flag arguments are now passed by position.
The order is :  (bem) input output program-name.
1985-01-25 09:55:28 +00:00
em ed1ee8a3b4 Removed test18 because it is in essence a busy loop. 1985-01-24 22:34:31 +00:00
em 3bb153d6bb Added executable files to list of those to cleanup. 1985-01-24 21:27:32 +00:00
em df08133a04 Added entry "clean" for cleanup. 1985-01-24 21:25:57 +00:00
keie 06087a6bc3 *** empty log message *** 1985-01-24 17:39:54 +00:00
em 58c5d2d8ac Changed the line numbered 19 into a line numbered 190.
This seemed the correct thing to do.
1985-01-24 11:34:12 +00:00
em 410800127c *** empty log message *** 1985-01-24 11:27:36 +00:00
em 8bdec01d71 Now using opder recommanded by 'lorder'. 1985-01-22 02:17:13 +00:00
keie 7556180ab3 Printf does not return a truth value for failure.
These -incorrect- tests were replaced by calls to ferror.
1985-01-21 23:58:07 +00:00
keie 68644410fb Added correct declaration of salloc, thereby preventing incorrect conversions.
Removed now unnecessary casts from salloc to (char *).
Added a cast to (char *) for the argument of sfree in the second call.
1985-01-21 23:56:10 +00:00
keie c2e988c3d5 1 - Changed argument from int to unsigned.
2 - The test for a failed malloc is changed from comparison to -1
    to comparison to 0.
1985-01-21 23:54:46 +00:00
keie d4a597912f Tests for EOF returned by stdio routines need the full int width. 1985-01-21 23:53:41 +00:00
keie 682e5d9b8a Removed casts made superfluous by adding newstr to string.h 1985-01-21 23:53:01 +00:00
keie f7027ba7e4 Test for EOF returned by stdio routines have to use the full int width. 1985-01-21 23:52:19 +00:00
keie 52a627589a Removed cast made superfluous by added newstr to string.h 1985-01-21 23:51:33 +00:00
keie 5fc9fdf795 Added test for outcome of request for more core.
If no more core is available a fatal error message is produced.
1985-01-21 23:48:06 +00:00
keie 8f81c858f8 Due to an 8 character identifier length limitation the identifier
"strcompare" is changed into "strcomp".
1985-01-21 14:52:34 +00:00
keie 6a21488f0c Due to an 8 character identifiers limitation calls in EM
the identifier "randomize" was changed into "randomi".
1985-01-21 14:51:29 +00:00
keie 374ac8b21c Due to an 8 character identifiers limitation on EM calls to
"setchannel" were changed into "setchan" and the identifier
"seektable" is replaced by "seektab".
1985-01-21 14:50:12 +00:00
keie 770f321ea8 Changed calls to "setrandom" into calls to "setrand" and
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.
1985-01-21 14:48:16 +00:00
keie decda89fba Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints. 1985-01-21 14:30:55 +00:00
keie ff46181ae0 1 - Changed the defintion of a local 's' into 'Sym' to avoid naming conflict.
2 - Added .integer, .Sptr and .cptr at appropiate places to uses of yylval.
3 - Removed unnecessary casts.
4 - Added a few /*NOSTRICT*/ comments to indicate awareness of lint
    complaints.
1985-01-21 14:26:29 +00:00
keie dbb0d46ac2 1 - Added comment to indicate awareness of lint complaints.
2 - Added/Removed some casts used with core allocation/deallocation.
1985-01-21 14:23:49 +00:00
keie d53ef52028 Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.
1985-01-21 14:22:07 +00:00
keie a91ff9e04b Added a declaration of gosublabel. 1985-01-21 14:21:52 +00:00
keie 56a8cd53b6 Added a few comments to indicate awareness of lint complaints. 1985-01-21 14:20:11 +00:00
keie 0c2aee4835 1 - Removed definition of POINTERSIZE.
2 - Defined void as int, some compilers don't know void.
3 - Added declarations of the routines proclabel, salloc, strcpy, strcat, malloc.
1985-01-21 14:18:47 +00:00
keie 309bbef3ea Now using a union for YYSTYPE and typed (non-)terminals.
Changed values $n(intvalue) to ival in definition of filelist.
Changed one asp,$n(midparms) into several asp,...SIZE in the definition
that uses MIDSYM.
1985-01-21 14:15:06 +00:00
keie 71cbd2c92f 1 added lint entry.
2 changed calls to cc into $(CC)
1985-01-21 14:14:22 +00:00
em 9479f61318 Now using correct RCS identification 1985-01-21 12:47:04 +00:00
em 8d02182e12 Renaming due to 8 character C compiler limit. 1985-01-21 12:37:26 +00:00
em aef211ad4e Used a correct definition of malloc. 1985-01-21 12:35:53 +00:00
em 6512a304a0 Checking in Martin's changes. 1985-01-17 14:10:27 +00:00
keie d19105ef78 Added the test program for the C<=>Pascal interface. 1985-01-17 12:43:51 +00:00
keie f9b105e07a *** empty log message *** 1985-01-17 12:43:04 +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 26f38cada3 *** empty log message *** 1985-01-01 22:33:43 +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
em 7ac377c750 The routine salloc crashed on a 2/4 system.
Malloc was nor declared as "char *", but by default as int.
1984-11-30 00:16:29 +00:00
em ad104f9164 I removed the unused integer deftype.
Its name collided with an array in symbols.c.
1984-11-29 17:27:00 +00:00
em 1b8f41d3b2 The definitions of lastline, currline and firstline are made
extern in graph.h. The space reserving declaration is made in
graph.c.
1984-11-29 17:26:44 +00:00
em f6da80afd8 The first line should contain the distribution library name. 1984-11-29 15:03:41 +00:00
em ae1e81adb1 *** empty log message *** 1984-11-29 14:22:02 +00:00
em 39c37e9571 1 - Added RCS identification.
2 - Changed the file name parseparams.c into parsepar.c, the original
    name was too long for RCS under BSD4.1
3 - Adapted to ACK standard Makefile format(cmp,install,...)
4 - Included more dependencies.
1984-11-27 23:53:31 +00:00
em 9f872a7ea0 Removed conflict between rcs_id in basic.yacc and lex.c. 1984-11-27 23:41:46 +00:00
em ea5498cd99 Now using ACK default tmp directory from em_path.h. 1984-11-27 23:21:41 +00:00
em 455cd930ec Added RCS identification. 1984-11-27 23:13:28 +00:00
em 335d55ff4a The version of basic copied from Martin Kerstens directory. 1984-11-27 22:23:55 +00:00
em 4301dfb7bf The version of basic copied from Martin Kerstens directory. 1984-11-27 22:11:59 +00:00
keie 3c2c03165b This manual page was not included in the first distribution.
This version is hacked from the VU-Pascal distribution.
1984-11-26 15:56:57 +00:00
keie 4c0687f68b Altered to reflect the changes in em_path.h.
Now dynamically concatenes EM_DIR and error path.
1984-10-04 10:42:13 +00:00
bal 68a6231d11 pem did not generate a register message for var-parameters of
array- or record type. The routine "treewalk" is modified.
It generates a register message for every var-parameter, even
if it has its noreg-flag set.
1984-09-12 13:21:43 +00:00
sater afc577b6c7 When building the parameter list for a pf-call, the line number
for the exchanges war remembered at the wrong time.
This caused:
	foo(3,'string')
to cause an external identifier for the string. Fixed.
1984-07-31 09:39:35 +00:00
sater c2f383773d added copyright notice 1984-07-20 13:54:36 +00:00
sater ebc7a50d8f added rcsid
adapted to new archive updating style, with LIST and march and all that
1984-07-20 11:32:47 +00:00
sater 98c1d6868f Initial revision 1984-07-20 11:25:31 +00:00
sater c99e75a01b added rcsid 1984-07-20 11:25:18 +00:00
sater bb4210de79 added copyright notice 1984-07-20 11:20:12 +00:00
sater b410ca7f8c removed copyright notice, wasn't really *written* by us. 1984-07-20 11:07:12 +00:00
sater 25a8908e26 added rcsid 1984-07-20 11:03:31 +00:00
sater 597d25decd Initial revision 1984-07-20 10:44:57 +00:00
sater 17a12c0bd7 added -f flags to all calls to rm 1984-07-16 15:29:48 +00:00
sater 70c85c09b9 *** empty log message *** 1984-07-12 14:08:27 +00:00
sater 1eaf02a3e1 added rcsid 1984-07-12 14:07:14 +00:00
sater 10b9e1a748 added rcsid
added compilation of tstgto.p
1984-07-12 14:05:03 +00:00
sater 381355408e Initial revision 1984-07-12 13:50:44 +00:00
sater 4001b657db Removed unbalanced quotes in comments, needed for new cpp 1984-07-12 10:50:47 +00:00
sater 35f8666be0 added rcsid
added comment
fixed bug, to make pem22 and pem24 you use pdp and vax2 iso vax2 and vax4
1984-05-21 16:33:30 +00:00
sater 3a26869fa3 Initial revision 1984-05-21 16:30:36 +00:00
sater 5e14a39844 Initial revision 1984-05-21 16:04:57 +00:00
sater 0dc5d2c310 Added output of mes ms_gto
Fixed bug:
  The frontend generated a mes ms_reg for the local temp where
  the stackpointer was kept in destination procedures for
  a non local goto. This was wrong.
1984-05-21 11:29:48 +00:00
sater 0796d79a9a Initial revision 1984-05-21 11:26:57 +00:00