Commit graph

14 commits

Author SHA1 Message Date
David Given 3f049a4c29 Basic mid now throws an error on out-of-bounds parameters rather than returning
an uninitialised pointer (and crashing).

Fixes: #54
2018-06-05 09:53:56 +09:00
David Given 04e54d6cb1 Run lang/basic/lib through clang-format. 2016-12-12 21:16:32 +01:00
David Given a53b51001b Ansify function definitions. 2016-12-12 21:15:25 +01:00
David Given d5f0107746 Build the Basic run-time library (after some modernisation).
--HG--
branch : dtrg-buildsystem
2013-05-14 16:11:29 +01:00
ceriel 63e0b36b41 renamed _len to _length: conflict with name in minix lib 1996-11-26 15:02:36 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +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
keie a50f8ebe1c Placed the include files in {EM_HOME}/h/bc_..... 1985-02-04 22:18:16 +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 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
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 ae1e81adb1 *** empty log message *** 1984-11-29 14:22:02 +00:00