Commit graph

154 commits

Author SHA1 Message Date
ceriel f61ddc4926 Made acceptable for our ANSI C compiler 1991-12-02 13:55:09 +00:00
ceriel 649b7d94f0 minor mods to parameters in grammar 1991-11-29 13:57:24 +00:00
ceriel 567a619003 Added FLOATS macro and fixed array bound error 1991-09-25 09:11:14 +00:00
ceriel 529cb1a5e2 NSIG --> _NSIG 1991-09-19 10:38:40 +00:00
ceriel 4d7339bb60 Fixed proto.make 1991-09-13 12:01:42 +00:00
ceriel 0caa529e0a fix machine-dependant #if's 1991-09-04 16:01:22 +00:00
ceriel 5abbc66878 New installation mechanism 1991-08-26 11:08:07 +00:00
ceriel 8b702734cf use new math routines 1989-06-19 15:56:30 +00:00
ceriel 6fec436051 use an ed script instead of an ex script; more portable 1989-02-07 17:54:33 +00:00
ceriel e8730266e5 removed not-used variable 1988-08-19 13:40:01 +00:00
ceriel e98a670850 fixed typo 1988-07-25 12:30:52 +00:00
ceriel 7b1eae1d37 fixed: call to atan changed into call to _atn 1988-07-25 11:41:19 +00:00
ceriel c9f8962fc8 mod to remove declarations in math.h 1988-07-25 11:40:57 +00:00
ceriel d443f370d2 replaced mathematical routines by our own 1988-07-25 11:13:26 +00:00
ceriel b4265c5407 removed the result3 variable; it was not used anymore 1988-07-07 09:59:32 +00:00
ceriel b365c53262 removed temp file 1988-07-06 18:18:46 +00:00
ceriel 44014704a0 forgot C_magic 1988-07-05 18:27:10 +00:00
ceriel a2905da259 don't use stdio.h 1988-07-05 10:53:53 +00:00
ceriel c10adfa7cf removed README 1988-07-04 15:24:24 +00:00
ceriel db0c67dd10 made to work 1988-07-04 13:41:47 +00:00
ceriel 93bdacae44 updated 1988-07-04 11:45:53 +00:00
ceriel c39c666834 Initial revision 1988-07-04 11:45:41 +00:00
ceriel bd5583311e corrected some more 1988-07-04 11:44:03 +00:00
ceriel 5157a5a186 several fixes for new basic compiler 1988-07-01 17:30:06 +00:00
ceriel 77830f353c small fix 1988-06-29 10:49:24 +00:00
ceriel 132548a987 Added a distr entry 1988-04-18 10:21:30 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel e80b36ded2 Added copyright notice 1987-03-31 11:06:20 +00:00
ceriel 044587ec57 added index 1987-03-26 15:28:08 +00:00
ceriel b8835cee3f Added copyright notice 1987-03-09 15:15:03 +00:00
ceriel ead0c95f43 Added an exit form main 1987-03-09 12:54:03 +00:00
ceriel f1fc51c85c Sun defines tmpfile in stdio.h. Renamed Tmpfile 1987-03-02 09:06:26 +00:00
ceriel 8c0d727dc1 Bug fix in strswap 1987-02-26 14:08:16 +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 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 b8bb269c72 Replaced a few "bss 2" by "bss EM_WSIZE". 1986-10-20 11:28:29 +00:00
keie 7606d347a0 Added a warning message. 1986-02-11 11:18:57 +00:00
bal 57a2371a16 bug fixed: null-pointer dereference. 1985-08-13 14:03:23 +00:00
keie e3fa99632e Corrected parameter name usage from i to d. 1985-03-26 17:03:30 +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 eb2b9d0bac Removed one error. 1985-02-15 14:37:35 +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
keie a50f8ebe1c Placed the include files in {EM_HOME}/h/bc_..... 1985-02-04 22:18:16 +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
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