ceriel
a6b6375985
Don't switch on longs!
1987-03-17 11:12:09 +00:00
ceriel
e203ddb7b6
Don't use the -n option!
1987-03-17 11:02:37 +00:00
ceriel
c41f370421
Added LEXLIB
1987-03-16 22:35:21 +00:00
ceriel
52cc95b957
Added a %p (number of positions). The BSD 2.9 lex has a too small default.
1987-03-16 22:28:27 +00:00
ceriel
9a07fc841f
Default paths were computed wrong. This is corrected.
1987-03-16 22:26:03 +00:00
ceriel
d52e25949a
Indirect function calls should be just that!
1987-03-16 15:14:52 +00:00
ceriel
617303659c
Deleted reference to unused varaibles
1987-03-16 15:09:36 +00:00
ceriel
2135ccd420
%c does not work with null-bytes on some systems (BSD 2.9)
1987-03-16 08:56:31 +00:00
ceriel
21b427d4df
made just a little bit more robust
1987-03-12 22:29:25 +00:00
ceriel
9ab7bf2408
Bug fixes
1987-03-12 19:18:59 +00:00
ceriel
755ea27d46
Added room for data, made room for rom smaller
1987-03-12 17:53:32 +00:00
ceriel
3f566164c2
Bug fixed that prevented "aal x" from working properly
1987-03-12 17:16:04 +00:00
ceriel
e0aa93de4c
replaced copyright
1987-03-12 08:23:08 +00:00
ceriel
4bbe1cfa65
Added ashow
1987-03-11 17:12:38 +00:00
ceriel
9a3d983659
Initial revision
1987-03-11 17:12:23 +00:00
ceriel
1452a26361
minor mod
1987-03-11 16:15:16 +00:00
ceriel
bdebe50836
*** empty log message ***
1987-03-11 15:55:51 +00:00
ceriel
e2eeea5162
remove regnoglob.c and regglob.c before copying to them
1987-03-11 15:39:01 +00:00
ceriel
f8e02e5d4c
Added arch.5
1987-03-11 15:09:25 +00:00
ceriel
32fa870855
Initial revision
1987-03-11 15:07:29 +00:00
ceriel
f694435063
minor change
1987-03-11 13:56:17 +00:00
ceriel
e86b8463ea
minor change
1987-03-11 13:34:07 +00:00
ceriel
e03d11afa2
Bug fix.
1987-03-11 11:13:55 +00:00
ceriel
9db939f74e
Added sun2
1987-03-11 09:50:23 +00:00
ceriel
96fd613e89
Added a "distr" entry
1987-03-11 09:49:33 +00:00
ceriel
053564d9e9
Added Rcs Id
1987-03-10 11:58:22 +00:00
ceriel
6eaf182cee
Added Rcs Id
1987-03-10 11:49:39 +00:00
ceriel
6c812387fd
Added copyright notice
1987-03-10 01:42:07 +00:00
ceriel
5537abbdfb
Added copyright notice
1987-03-10 01:26:51 +00:00
ceriel
7270bbb7f0
Added copyright notice
1987-03-09 22:11:47 +00:00
ceriel
a0eea34497
Added copyright notice
1987-03-09 22:06:21 +00:00
ceriel
49ac6c4e07
Added copyright notice
1987-03-09 21:59:22 +00:00
ceriel
815166e421
Added copyright notice
1987-03-09 19:15:41 +00:00
ceriel
c428b33acc
replaced return by exit
1987-03-09 14:22:45 +00:00
ceriel
262490efaa
Replaced return from main by exit
1987-03-09 13:29:04 +00:00
ceriel
11af9f9716
replaced returns from main by exits (bloody SUN)
1987-03-09 13:25:44 +00:00
ceriel
bb787ae7cb
Added exit from main
1987-03-09 13:22:45 +00:00
ceriel
1583b4191a
Added an exit from main
1987-03-09 13:14:32 +00:00
ceriel
1fdc5a5fe6
replaced returns from main by exits (bloody SUN)
1987-03-09 13:07:42 +00:00
ceriel
717baa8bd8
Added exit to main
1987-03-09 13:04:58 +00:00
ceriel
0bec865e32
Added an exit from main
1987-03-09 13:01:51 +00:00
ceriel
29a4a0266b
exit from main, instead of return (bloody SUN)
1987-03-09 12:59:18 +00:00
ceriel
40424d5864
exit from main instead of return (bloody SUN)
1987-03-09 12:55:24 +00:00
ceriel
839be66f85
exit from main instead of return
1987-03-09 12:52:10 +00:00
ceriel
fa0f6cd0c6
Lindseys fix to a bug with nested procedures
1987-03-09 10:15:51 +00:00
ceriel
6ac8c31b76
Improved installation procedure
1987-03-05 15:00:13 +00:00
ceriel
8fbd81a884
A wrong flag is no longer fatal
1987-03-05 14:57:15 +00:00
ceriel
66c5ebf42f
Only echo the newlines in comments, no formfeeds, etc, because
...
you don't know what you are preprocessing.
1987-03-05 11:07:16 +00:00
ceriel
a3426ca0e2
*** empty log message ***
1987-03-04 16:43:03 +00:00
ceriel
652354e59d
Replaced returns from main by exits (bloody suns!)
1987-03-03 11:13:52 +00:00
ceriel
154bb5df06
Now uses BIGMACHINE from local.h
1987-03-02 17:30:37 +00:00
ceriel
5097663cb8
Bug foix
1987-03-02 17:18:11 +00:00
ceriel
04618dbe64
Don't pass -O to lint.
1987-03-02 16:48:46 +00:00
ceriel
721de974ee
Bug fix
1987-03-02 16:43:19 +00:00
ceriel
70a459a112
Be a bit more tolerant about line directives.
1987-03-02 16:40:14 +00:00
ceriel
eb5d7ef3fe
Improved userhooks
1987-03-02 16:15:07 +00:00
ceriel
a08ef0e369
*** empty log message ***
1987-03-02 12:54:52 +00:00
ceriel
bc1fb58cd6
SHARE --> SHR
1987-03-02 12:42:38 +00:00
ceriel
a584a04f03
fixed typo
1987-03-02 12:31:44 +00:00
ceriel
b10452c2dc
Forced first linedirective with source filename
1987-03-02 08:50:08 +00:00
ceriel
8ed274e96e
*** empty log message ***
1987-03-02 08:48:36 +00:00
ceriel
e10e56542d
*** empty log message ***
1987-02-26 19:41:49 +00:00
ceriel
45bae5569b
Deleed mantra4
1987-02-26 16:31:26 +00:00
ceriel
63f1aea871
Added the SUFFIX variable
1987-02-26 12:44:11 +00:00
ceriel
3ab2228a8b
*** empty log message ***
1987-02-25 19:10:01 +00:00
ceriel
3b2e80225a
*** empty log message ***
1987-02-25 18:54:14 +00:00
ceriel
c57a723546
*** empty log message ***
1987-02-24 18:41:53 +00:00
ceriel
c05eb0a5c7
*** empty log message ***
1987-02-24 16:07:04 +00:00
ceriel
3edd0994c6
Added ncgg.6
1987-02-24 15:47:05 +00:00
ceriel
e51bf3a056
*** empty log message ***
1987-02-24 15:44:46 +00:00
ceriel
ac7976eea9
*** empty log message ***
1987-02-24 15:36:34 +00:00
ceriel
40a36c570e
vi Ma
1987-02-24 15:32:48 +00:00
ceriel
ea8fd6991c
*** empty log message ***
1987-02-23 23:35:42 +00:00
ceriel
aa2add89cd
*** empty log message ***
1987-02-23 23:28:06 +00:00
ceriel
3baea33f46
*** empty log message ***
1987-02-23 19:18:57 +00:00
ceriel
d640f098b9
updated to current situation
1987-02-23 19:15:33 +00:00
ceriel
75cfdc06c6
Initial revision
1987-02-23 19:14:34 +00:00
ceriel
925ec7555f
bug fix
1987-02-23 15:48:27 +00:00
ceriel
35e75e3d55
Added a dependency
1987-02-23 11:02:31 +00:00
ceriel
6f9a14000c
Some minor improvements
1987-02-23 11:01:13 +00:00
ceriel
74be3a448f
*** empty log message ***
1987-02-23 10:50:15 +00:00
ceriel
3e3ebc6b8b
cardinality of sets was wrong!
1987-02-18 10:47:55 +00:00
ceriel
c3ae096e67
*** empty log message ***
1987-02-17 15:07:15 +00:00
ceriel
3f6a8abe1b
adapted to allow for user intervention before error recovery
1987-02-16 21:38:52 +00:00
ceriel
255884b3fb
Another adaption to allow for user intervention BEFORE error recovery
1987-02-16 21:36:05 +00:00
ceriel
90cae7c6a5
Adapted to search for description files in either
...
~em/lib/descr/<file> or ~em/lib/<file>/descr
1987-02-13 13:39:30 +00:00
ceriel
0905b2ba25
forgot a continue.
1987-02-12 13:54:37 +00:00
ceriel
9a64c052cc
Added some code to handle -Oego,opt,asopt etc
1987-02-10 16:51:57 +00:00
ceriel
2295cd130a
Added some code to handle -Oego,opt,asopt and the like.
...
By default, optimizers can be excluded by giving them a negative
priority in the description files. This is currently done for
the global optimizer
1987-02-10 16:50:32 +00:00
ceriel
cd1007a972
removed some %0 stuff
1987-02-10 09:49:50 +00:00
ceriel
9a7949c79d
Removed some more "%...D"s
1987-02-10 09:39:40 +00:00
ceriel
ced0ffabbd
removed some %0 stuff
1987-02-09 17:41:25 +00:00
ceriel
522039cb60
replaced a %D
1987-02-09 17:31:25 +00:00
ceriel
17ddf81681
replaced some %D's
1987-02-09 17:28:22 +00:00
ceriel
8b15b193a2
replaced a %04x
1987-02-09 17:10:29 +00:00
ceriel
4793d80775
replaced some %D's by %ld
1987-02-09 17:06:20 +00:00
ceriel
fa59fc325e
changed so that it prints a separate line for each dependancy
1987-02-09 15:06:09 +00:00
ceriel
8f4a99cc24
The added ',' separator in token declarations did not work
...
(reported by Kees Bot, Edwin Scheffer). This is corrected (I hope).
1987-02-07 03:56:34 +00:00
ceriel
13d59d1427
Added cpp to the "clean" entry
1987-02-07 02:58:47 +00:00
ceriel
8360226526
Added "opt2" to the clean entry
1987-02-07 02:57:09 +00:00
ceriel
a1c7298f9d
changed hash function
1987-02-07 00:14:51 +00:00
ceriel
ce47e41665
Another one.
1987-02-06 23:40:25 +00:00
ceriel
bdef113184
Bug fix (INPUT, not STDIN !!!)
1987-02-06 23:38:35 +00:00
ceriel
d3f3afa6e7
bug fix
1987-02-06 10:03:18 +00:00
ceriel
e0b23bbaea
Added code to kill regvar(...)
1987-02-05 19:20:54 +00:00
ceriel
b11e35b7d4
Adapted some constants
1987-02-05 19:19:01 +00:00
ceriel
74b078c3f1
just for fun: do not call empty rules.
1987-02-05 19:14:55 +00:00
ceriel
f5f7a6cb2a
*** empty log message ***
1987-02-05 17:02:16 +00:00
ceriel
70fb5304d0
new dependencies
1987-02-05 17:01:12 +00:00
ceriel
a40ec68883
Added another structure for improved recursion detection
1987-02-05 17:00:14 +00:00
ceriel
75e9a65bcd
Added line_prefix.h
1987-02-05 14:58:24 +00:00
ceriel
78aae09a09
Initial revision
1987-02-05 14:47:47 +00:00
ceriel
467f680968
Adapted to the use of "convert.c"
1987-02-05 14:47:22 +00:00
ceriel
862e62b9e4
*** empty log message ***
1987-02-05 14:47:04 +00:00
ceriel
10f6d88ba1
*** empty log message ***
1987-02-05 14:11:46 +00:00
ceriel
49b619cec2
Added manual page
1987-02-05 13:20:03 +00:00
ceriel
439bf558cc
*** empty log message ***
1987-02-05 13:17:00 +00:00
ceriel
6dcf1995c1
Initial revision
1987-02-04 13:10:17 +00:00
ceriel
b5d0c2797b
*** empty log message ***
1987-02-04 13:09:02 +00:00
ceriel
a3aa9aac88
removed the lflag, added check for '/' in filenames
1987-02-04 13:04:51 +00:00
ceriel
60cf3639ce
Added "pr" and "opr" entries
1987-02-04 12:54:03 +00:00
ceriel
3c387987ed
Added "cmp" entry
1987-02-04 12:51:31 +00:00
ceriel
b536e4101d
Initial revision
1987-02-04 12:45:43 +00:00
ceriel
85830c5f63
Strings and character constants now stop at end-of-line, unless escaped
...
by a backslash
1987-02-03 23:28:09 +00:00
ceriel
4b489cd254
Initial revision
1987-01-30 17:10:51 +00:00
ceriel
91463b5a4e
Initial revision
1987-01-29 14:17:23 +00:00
ceriel
3d00f0ea37
Adapted to current situation
1987-01-29 13:20:23 +00:00
ceriel
c6f26eff9e
Corrected syntax error
1987-01-29 09:43:40 +00:00
ceriel
640f958d26
Improved "element size" handling.
1987-01-26 16:16:12 +00:00
ceriel
edae1fc950
Added a check that a tokenset in a stackpattern contains tokens
...
that all have the same size.
1987-01-26 16:14:39 +00:00
ceriel
88ea6fb11d
new dependency
1987-01-26 15:01:25 +00:00
ceriel
a410519ff5
Bug fix
...
Under the '-x' option, the archive was opened in "APPEND" mode.
1987-01-20 09:53:32 +00:00
ceriel
41622dc2a9
Added c-flag
1987-01-19 09:41:49 +00:00
ceriel
0efc7ae07d
Added 'c'-flag
1987-01-19 09:36:35 +00:00
ceriel
faa0c191a4
minor bug fix
1987-01-16 19:20:58 +00:00
ceriel
8f27f92269
Bug fix with WorkingDir
1987-01-16 16:14:22 +00:00
ceriel
45238eea0f
Some bug fixes and minor extensions
1987-01-16 13:51:42 +00:00
ceriel
382c88eb17
Using object library
1987-01-15 22:06:16 +00:00
ceriel
ece95a2ee4
Some bug fixes
1987-01-15 17:36:26 +00:00
ceriel
8af94099a3
Replaced an occurrence of EOI by EOF.
1987-01-14 21:37:22 +00:00
ceriel
e6f18b2838
Initial revision
1987-01-13 11:31:24 +00:00
ceriel
630e5d8082
Initial revision
1987-01-13 11:01:26 +00:00
ceriel
6d499785be
Initial revision
1987-01-13 10:53:33 +00:00
ceriel
424337507d
Added standard entries
1987-01-13 10:43:12 +00:00
ceriel
876369b2f1
Added standard entries
1987-01-13 10:30:06 +00:00
ceriel
692d3702a1
Added "standard" entries
1987-01-13 10:08:47 +00:00
ceriel
3cb30fa873
Added a "clean" entry.
1987-01-13 10:07:25 +00:00
ceriel
673b1d79e2
Initial revision
1987-01-13 10:01:07 +00:00
ceriel
28b3286e21
Added "standard" entries install, cmp, opr
1987-01-13 09:56:17 +00:00
ceriel
3c7511780b
Initial revision
1987-01-12 17:21:59 +00:00
ceriel
9e528bef6f
Allow reading from standard input
1987-01-12 14:38:45 +00:00
ceriel
5ddf83ab5a
force first line directive
1987-01-12 14:21:14 +00:00
ceriel
281f83968c
This one works.
1987-01-12 14:06:47 +00:00
ceriel
cb2b167849
New Makefile, also generating opt2 (t.i. peephole optimizer after global ..)
1987-01-12 14:01:26 +00:00
ceriel
896de3243e
Corrected the "install" entry.
1987-01-12 12:30:16 +00:00
ceriel
e5820bdbaa
Added bitwise operators
1987-01-08 14:22:32 +00:00
ceriel
cfc9f38ccd
Generate line directives that are similar to the ones generated
...
by the Reiser preprocessor.
1987-01-08 12:42:44 +00:00
ceriel
0c5feb7493
wrong number of parameters no longer is an error.
1987-01-08 12:38:05 +00:00
ceriel
be68581019
*** empty log message ***
1987-01-07 11:10:33 +00:00
ceriel
143b2531bb
Initial revision
1987-01-06 15:16:53 +00:00
ceriel
9919cc1ba6
Introduced EMHOME.
1986-12-16 13:50:54 +00:00
ceriel
7d1822d04e
Added EMHOME.
1986-12-10 15:30:42 +00:00
ceriel
c501c762cf
removed the -n flag, but not its effect. The generated parser will
...
call LLmessage(-1) when saying "garbage at end of input".
1986-12-10 09:32:57 +00:00
ceriel
91aad0b28e
Improved relocation reading code for the !incore strategy.
1986-12-03 13:09:15 +00:00
ceriel
24b7ad602a
Improved compactification code. It was much to persistent, and
...
also too greedy. This causes long LONG linking times.
The current version is less greedy, but also gives up more
easily. Linking times are acceptable now.
1986-12-03 13:06:48 +00:00
ceriel
db43d1d8a7
Added definitions for "alloc", "hard_alloc".
1986-12-03 13:02:37 +00:00
ceriel
3e4629b077
made to work on small machines.
1986-12-02 16:16:08 +00:00
ceriel
149c764ca1
Added -i to LDFLAGS.
1986-12-02 11:25:51 +00:00
ceriel
36adbe54a5
Removed some signal handling stuff. The Ack-program should do that.
1986-12-01 09:43:00 +00:00
ceriel
00a2314999
make to work with newer version of LLgen.
1986-11-24 21:24:42 +00:00
ceriel
3b2d51a96b
Initial revision
1986-11-24 20:42:13 +00:00
ceriel
eba14fa801
Bug fix in "inc loc adi" patterns and the like.
1986-11-24 10:42:29 +00:00
ceriel
45f608bac0
Initial revision
1986-11-11 13:44:58 +00:00
ceriel
fb16148641
Adapted to use of GCIPM.
1986-11-11 13:44:13 +00:00
ceriel
3bc3818955
Adapted to use General C Identifier processing Module (GCIPM).
...
Also changed so that output for "cid" or "cpp" is in alphabetical order.
1986-11-11 13:42:42 +00:00
ceriel
3860ab6f68
Adapted to new versions of programs
1986-11-11 13:42:16 +00:00
ceriel
94634ace27
Initial revision
1986-11-11 13:34:20 +00:00
ceriel
87af36724b
Avoid a bug in the C-optimizer of 4.1 BSD.
1986-11-07 17:54:30 +00:00
ceriel
7fd4e395da
Constants changed to more sensible values.
1986-11-07 16:20:33 +00:00
ceriel
981bea82f4
Added "register" to a declaration.
1986-11-07 16:01:45 +00:00
ceriel
a761166dfa
*** empty log message ***
1986-11-05 21:31:23 +00:00
ceriel
97e027db33
Added some code to skip to EOF with LL_NEWMESS.
1986-11-03 14:09:28 +00:00
ceriel
7d2ee932e9
That was: LL_NEWMESS, not LL_NEWMESSAGE!
1986-11-03 10:28:21 +00:00
sater
79a736a9f6
Output was wrong with maxmembers<2
1986-11-03 09:13:32 +00:00
ceriel
a0a3f2d2b6
Added code that calls LLmessage(-1) when needed, and when LL_NEWMESS is
...
defined.
1986-10-29 11:30:50 +00:00
ceriel
eedc332a04
Added "nflag".
1986-10-29 11:29:47 +00:00
ceriel
ee27adc926
Added nflag, that allows the LLmessage(-1) call, to indicate garbage
...
at end of program.
1986-10-29 11:27:47 +00:00
ceriel
de5ac65dd6
Bug fix. Error recovery did not always work as expected. The generated
...
parser sometimes assumed that a token would not be deleted, and inserted
tokens in front of it, and then deleted the token after all. It should
at each error, first delete, and then insert.
1986-10-29 11:16:55 +00:00
ceriel
200034075d
Some name changes in ../../modules/lib.
1986-10-28 17:04:40 +00:00
ceriel
aac1207beb
Error messages are printed differently now. A '%' in an error message
...
used to cause difficulties.
1986-10-22 15:30:46 +00:00
ceriel
c19358ee50
Bug fix involving '\\'.
1986-10-22 13:36:22 +00:00
ceriel
0595f74596
minor simplification.
1986-10-22 13:36:04 +00:00
ceriel
cb2543df8a
Improved the "clean"-entry
1986-10-20 14:58:25 +00:00
ceriel
8129bf95a4
Initial revision
1986-10-20 14:56:37 +00:00
ceriel
991df05826
*** empty log message ***
1986-10-20 14:42:41 +00:00
ceriel
d8ba814b26
Adapted to the use of ../../modules/lib/libstr.a
1986-10-20 13:59:14 +00:00
ceriel
11d442c0a0
Use our own string-routines "strindex" and "strrindex". At least we
...
know their name!
1986-10-20 13:52:16 +00:00
ceriel
784bd9ec54
Use our own string routines strindex and strrindex. At least we know
...
their name!
1986-10-20 13:48:26 +00:00
ceriel
84f0869fde
Fixed a bug: ack could not see the difference between ".mod" and ".m".
...
This is corrected.
1986-10-20 13:47:26 +00:00
ceriel
3a076895bb
Caused a core dump on 68000-based machines (read: non-VAX) when called
...
at a certain (high) level of verbosity, -v5 for instance.
Cause: a null-reference. This is fixed.
1986-10-20 13:28:59 +00:00
ceriel
baf5b74da2
A new version, that no longer tries to move all null parts to the end
...
of a segment. It also uses the "object" library to read and write ACK-
object files and libraries.
1986-10-20 10:17:57 +00:00
ceriel
8ffde3c86a
I don't really know why, but the file was changed.
1986-10-20 09:35:51 +00:00
ceriel
bfad7d30f0
Added a pattern for "ldc ads".
1986-09-24 12:17:25 +00:00
ceriel
a2599744f0
Addition of new patterns.
1986-09-23 09:41:47 +00:00
em
c685aa11b5
set limit on optimization passes to prevent loop
...
in optimizer in case of bad table.
1986-09-09 13:10:15 +00:00
sater
14b982346f
Error fixed where w==2 was assumed
1986-08-28 10:28:42 +00:00
ceriel
2acc260239
Adapted so that anybody can do "make install".
1986-07-22 10:47:51 +00:00
ceriel
3c76cbaa1e
Some changes needed for the new 4-4 Pascal compiler.
1986-07-21 09:53:44 +00:00
sater
f1a0c90fb1
removed sanity checking on result from sprintf
...
System IIIish systems seem to have their own idea.
1986-06-17 09:13:11 +00:00
ceriel
db258b68ea
Increased the size of the expression node table.
1986-06-05 13:56:31 +00:00
sater
5a84f07281
Non existing token fields in the format string caused memfaults
...
because fields were checked beyond the end of the tokeninfo. Fixed.
1986-05-21 15:08:57 +00:00
sater
5c71bad6e1
Relaxed input syntax for from STACK coercions
...
No gen clause is necessary anymore.
1986-03-19 16:14:12 +00:00
keie
7592c2cb1a
Adapted to our ack environment.
1986-02-11 11:22:43 +00:00
bal
b48d45c38d
increased STACK_DEPTH from 50 to 250
1986-02-10 11:04:33 +00:00
ceriel
e2cfecffe3
Added some new patterns involving multiplies with 0, 1 etc.
1986-02-10 10:14:41 +00:00
em
f3e2248cc4
fixed bug in number() -- hex letters mistreated
1986-02-03 14:30:19 +00:00
sater
ef48465b2a
Hex numbers didn't work. Corrected bug in myatoi().
1986-01-24 16:08:34 +00:00
dick
d112eb710c
adapted to phototypesetter
1986-01-20 20:39:09 +00:00
sater
a91e33ce96
Corrected error in otime of initialisation of booleans
1985-12-02 13:55:06 +00:00
ceriel
5b09f4211d
A minor change in the LL.output format.
1985-11-26 13:27:51 +00:00
ceriel
4b31842ecc
Remove targets before installing new ones
1985-11-25 16:26:59 +00:00
ceriel
7e978197d2
New manual page for a completely new version of LLgen.
1985-11-25 16:00:18 +00:00
ceriel
1284cf0187
Changed dependancies
1985-11-25 15:57:43 +00:00
ceriel
fb36b6b633
New version of LLgen, new version of this Makefile ...
1985-11-25 15:52:56 +00:00
ceriel
8b48512de7
New version, with a much faster parser.
1985-11-25 15:50:51 +00:00
ceriel
70a5d416d1
New version, much faster
1985-11-25 15:50:19 +00:00
ceriel
42d0e056fb
Completely new version, generating a much faster parser
1985-11-25 15:48:42 +00:00
ceriel
f055d610d3
Completely new version, generating a much faster parser.
1985-11-25 15:47:51 +00:00
keie
2e947a5e91
BSD4.3 size returns an error when it cannot find one of
...
its arguments.
1985-10-15 15:47:12 +00:00
ceriel
e494e09063
Initial revision
1985-10-03 18:31:47 +00:00
ceriel
aab6140bfa
different interface.
1985-10-03 17:19:14 +00:00
bal
dcb4b71a3d
0 / -1 confusion for properties (bug reported by sater).
1985-10-03 14:41:44 +00:00
ceriel
d07e8114c6
More safety, also after terms and nonterminals.
1985-10-03 12:38:55 +00:00
ceriel
ca4cc6fe80
Initial revision
1985-10-03 10:35:55 +00:00
ceriel
6b74749c12
Initial revision
1985-10-03 10:25:23 +00:00
ceriel
b83ab7873e
A more precise safety after a term.
1985-10-02 22:49:16 +00:00
ceriel
73153b484b
Initial revision
1985-10-02 22:20:04 +00:00
bal
8668e313f8
bug fixed: same problem as in r1.3, now with csb.
...
Solution: only do block fusion if first block end on bra.
1985-09-19 11:14:55 +00:00
bal
a18c5dd9c4
bug fixed: last instruction of first block in block fusion optimization
...
can be a conditional branch. (bug detected by Ceriel).
1985-09-18 16:27:29 +00:00
bal
53f6b51cde
sprintf does not return pointer to string so the assert(s==string) does
...
not make any sense.
1985-09-06 11:39:06 +00:00
bal
6a4d9703cc
exit(0) added (trouble with make)
1985-09-06 11:38:00 +00:00
keie
6f22e5b7d9
%D => %ld
1985-06-21 12:55:17 +00:00
keie
3e6e781c8d
Now using AALMAG instead of ARMAG for led libraries.
1985-06-12 10:31:28 +00:00
keie
8749fb1da8
Using new magic number for 'aal' archives.
1985-06-10 12:41:51 +00:00
keie
dacde83aae
Removed debugging printout.
1985-06-10 11:23:22 +00:00
keie
42c2a9754f
Adapted by Sjoerd to amoeba.
1985-06-10 10:53:15 +00:00
keie
44ccf469d9
Changed to get led working under amoeba.
...
Author: K.S. Mullender.
1985-06-10 10:48:49 +00:00
keie
177af75c93
*** empty log message ***
1985-05-13 11:19:24 +00:00
keie
f90babad30
Adapted to installation in the EM tree.
1985-05-13 11:09:53 +00:00
keie
eb025dae5c
Added a message to the effect that 'local commons' can not be handled.
1985-04-29 11:55:30 +00:00
keie
7b6ed6733f
Added assignment for debuuging info.
1985-04-19 13:28:56 +00:00
keie
78961d37c1
Now using out.h from ../../h
1985-04-18 15:22:22 +00:00
keie
b391be598b
Now using arch.h, out.h and ranlib.h from ../../h
1985-04-18 15:21:16 +00:00
em
f70b857d1b
Added pmds4.
1985-04-14 13:22:26 +00:00
keie
022cb596be
*** empty log message ***
1985-04-12 15:06:05 +00:00
keie
9eb53c3d47
*** empty log message ***
1985-04-12 14:59:45 +00:00
keie
dfcfa9883b
Initial revision
1985-04-12 14:55:00 +00:00
em
491040b2c7
*** empty log message ***
1985-04-12 14:01:20 +00:00
keie
bae4084355
*** empty log message ***
1985-04-12 11:25:21 +00:00
em
c1d5a0c721
Changed 8080 into i80.
1985-03-18 14:44:15 +00:00
bal
c478b62711
bug fixed in kill_much():
...
for ( .. ; i != (Lindex) i; .. ) should be
for ( .. ; i != (Lindex) 0; .. ).
1985-02-28 10:35:57 +00:00
bal
d5098fe70f
Bug fixed: co_lfirst received wrong value for multiply-optimization.
1985-02-25 14:03:09 +00:00
bal
469d075e77
Calls of which the actual and formal parameters do not match
...
are no longer substituted inline.
1985-02-20 15:01:02 +00:00
bal
7397122695
p_use->u_ext field deleted from showptable()
1985-02-19 11:16:11 +00:00
bal
abcbc93b5d
Dependencies for .m files added.
1985-02-19 11:13:13 +00:00
keie
b449b94b48
Removed nascom from linked list.
1985-02-18 23:06:13 +00:00
keie
7d85a4c0b3
Added link to 6805.
1985-02-18 23:01:05 +00:00
bal
66ab97d2b0
bug fixed: lifetime of an item was too short; it should also cover
...
any live/dead message prior to its initial live-message.
1985-02-18 15:14:22 +00:00
keie
241a7de970
The PDP 11 needs -i, Vax'en ignore it.
1985-02-18 12:45:31 +00:00
bal
a1c2dadb2a
Compare group (cmp,cmi,cmu,cms,cmf) added as cheap operators.
1985-02-15 13:18:57 +00:00
bal
e704ddc158
restructured.
1985-02-11 10:52:49 +00:00
bal
f7699474b8
The binaries of the phases of ego are now put in a single directory.
1985-02-11 10:07:47 +00:00
bal
6909adbf9c
Macros newcflpx and oldcflpx added.
1985-02-11 09:52:11 +00:00
bal
156775643e
Include files and declaration of em_flag added.
1985-02-11 09:51:02 +00:00
bal
d41c902b12
Memory allocation/deallocation for extends changed.
1985-02-11 09:48:32 +00:00
bal
b99ce86e16
register save costs changed: they are now linearly dependent on
...
the number of registers to be saved (for time).
1985-01-30 15:43:02 +00:00
bal
bec394f7bd
Entry for LOI changed from CLASS1 to CLASS12.
1985-01-30 14:49:03 +00:00
bal
db19d06f61
CLASS12 added for the LOI instruction. A "LOI n", n < wordsize,
...
loads wordsize bytes, not n bytes.
1985-01-30 14:47:49 +00:00
bal
31eab814f2
Debugging procedure print_allocs now writes to stderr.
1985-01-30 10:52:33 +00:00
bal
7f9dd27dc8
bug fixed: assemble_allocs() did generate whole_procedure allocations.
...
These allocations were initialized with a very low profit. Consequently
account_regsave rejected these allocations.
Solution: repl_allocs() updates the al_profits field of the
whole_procedure allocation.
1985-01-30 10:47:47 +00:00
bal
387191a2c7
bug fixed: oldmap(lmap,llength) was sometimes called when no new map
...
had to be allocated for the current (data-) unit.
1985-01-28 11:38:06 +00:00
bal
a49f2d23f7
Number of address registers decreased from 5 to 4.
1985-01-25 13:24:12 +00:00
bal
66eabbcddf
parameter of fscanf changed from "%d" to "%hd" to read a short.
1985-01-23 16:28:58 +00:00
bal
468401cb81
core allocation macros added.
1985-01-23 16:27:47 +00:00
bal
cac6ffd8c2
ovfl_harmful and arrbound_harmful turned into ints
1985-01-23 16:25:29 +00:00
bal
d32d4e6ba0
Interface of tmplocal() changed: second parameter is a long now
1985-01-23 16:23:15 +00:00
bal
5cad6f6aa7
interface with tmplocal() changed: second parameter is a long now.
1985-01-23 16:18:33 +00:00
bal
e46c49e291
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.
1985-01-23 16:16:49 +00:00
bal
5a95c31414
bug fixed in last_mnem(): test on nil-pointer.
...
bug fixed in try_tail(): add line "if(l1==0||l2==0) return FALSE".
1985-01-23 16:13:57 +00:00
bal
f487f26e00
bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
1985-01-23 16:12:21 +00:00
bal
e95492dfb0
bug fixed in routine get_ca_lines(): test on nil-pointer.
1985-01-23 16:10:43 +00:00
bal
fefe15a844
init_regcnt renamed initregcnt to avoid name conflict.
...
bug fixed in routine fits_in(): test on nil-pointer.
routine choose_location(): interface with tmplocal() changed, second
parameter now is a long, so a cast is added.
1985-01-23 16:07:09 +00:00
bal
3d2c33e277
rules for itemtab.h and makeitems added.
1985-01-23 15:50:17 +00:00
bal
2ea3be322d
clean_items renamed cleanitems to avoid name conflict.
...
clean_timeset renamed cleantimeset to avoid name conflict.
bugs fixed: calls to fscanf() with a pointer-to-short as argument
should provide a "%hd" instead of "%d".
1985-01-23 15:45:58 +00:00
bal
2d8dcaa2df
Initial revision
1985-01-18 09:59:09 +00:00
sater
dac2f97109
extra define added to aid in generation of DO_RREMOVE
1985-01-11 09:42:17 +00:00
sater
3a528a7324
code was added to generate DO_RREMOVE
1985-01-11 09:41:47 +00:00
sater
3534869cb5
code was added to cause generation of DO_RREMOVE in some cases
1985-01-11 09:41:13 +00:00
sater
e9b6045b5a
diffs were applied to make default register property at stacking rule
...
-1 instead of 0.
1985-01-11 09:40:40 +00:00
sater
a1a8fd99a0
Optional register property in stacking rules must be -1 when absent.
...
Fixed this.
1985-01-10 16:30:09 +00:00
duk
d7fb9edfe2
Maybe some minor changes.
1985-01-10 13:35:39 +00:00
duk
58126396af
Added call to trap signals.
1985-01-10 13:24:36 +00:00
duk
55017702e2
Header and section table now allocated statically.
1985-01-10 13:22:04 +00:00
duk
7d312abd59
Inline expansion of index_adjust() and compute_origins().
...
Section table now allocated statically.
1985-01-10 13:19:47 +00:00
duk
ba826bad5c
Added routine to check signals.
1985-01-10 13:17:22 +00:00
duk
f532b58045
Added provisions for copying everything after the string area into the
...
resulting object file. Because this is most likely symbolic debugging
information, these are parametrized by #ifdef SYMDBUG.
1985-01-08 11:54:57 +00:00
sater
72b83cca59
*** empty log message ***
1985-01-08 09:59:28 +00:00
sater
c2229e5c60
Initial revision
1985-01-04 14:05:25 +00:00
keie
57115f49cc
Take precautions against an already existing march.
1985-01-01 21:32:02 +00:00
keie
fe6eed6c76
Added RCS identification.
1985-01-01 18:35:40 +00:00
keie
0ebd337637
*** empty log message ***
1985-01-01 18:34:12 +00:00
bal
ffb167e8b2
lay-out enhanced; flags (CFLAGS etc.) inherited from central Makefile;
...
entry for compiling this phase with ack -O created.
1984-12-21 14:41:47 +00:00
keie
8636bd025e
Added machines to be sent with the second distribution to the LNTABLES.
1984-12-18 15:28:19 +00:00
keie
a5e9c4f8d1
*** empty log message ***
1984-12-17 15:52:04 +00:00
keie
8c874d4632
Run $RANLIB if the shell variable is set.
1984-12-17 15:50:02 +00:00
sater
d267037189
*** empty log message ***
1984-12-17 15:13:39 +00:00
bal
98989fd9ca
Initial revision
1984-12-10 13:36:12 +00:00
keie
9932e38ab2
Removed the definition of the NEEDS variable.
1984-12-10 12:49:56 +00:00
ceriel
7f12f20be6
Removed a reference to a non existing Makefile ( in the lib directory).
1984-12-07 15:21:25 +00:00
bal
9019141137
Bug fixed in optimizing two adjacent basic blocks.
1984-12-07 14:19:53 +00:00
ceriel
2c7c97051b
Changed so that the installation process will continue if LLgen
...
is not present yet.
Also added Makefile to the "make pr" entry.
1984-12-06 10:39:28 +00:00
bal
4e461a9860
Initial revision
1984-12-04 15:04:44 +00:00
bal
3cdaf9f4ba
WORDLENGTH now defined in automatically generated file wordlen.h
...
Generate this file from makewlen.c
1984-12-04 15:04:01 +00:00
bal
0d0e2d2d22
WORDLENGTH now defined in automatically generated file worlen.h
1984-12-04 15:03:22 +00:00
bal
8d659c015f
Bug fixed: fill_item() should initialize item->it_desirable to TRUE.
1984-12-04 14:41:20 +00:00
bal
9b72991e27
regsave_cost() return void instead of short.
1984-12-04 13:04:27 +00:00
bal
8db2c12881
regsave_cost() returns void instead of short.
1984-12-04 13:03:49 +00:00
bal
ee3ef338db
Comment closer ("*/") added to description of getlines().
1984-12-03 12:12:37 +00:00
ceriel
7e3e49082c
Increased MAXPATLEN to 8000.
1984-11-30 11:14:18 +00:00
bal
0778ce4a9a
Macros for B_DIST, B_USECNT and B_MARK removed, as these fields are
...
no longer used.
Declarations of nrinstrs and instrmap marked "extern" to satisfy ack compiler.
1984-11-30 10:52:05 +00:00
bal
7351e38ed5
Declaration of items[] made static to avoid name conflict with ra_items.c
...
Core allocation macros added.
1984-11-30 10:50:27 +00:00
bal
bac0efbedb
Declaration of items[] made static to avoid name conflict with ra.c
1984-11-30 10:49:09 +00:00
bal
302608566a
routines getcall(), get_text() and getcc() move from get.c to this file
...
routines putactuals(), putcall(), and putcc() move from put.c to this file
get.h, put.h, stdio.h, em_mnem.h and em_pseu.h included
1984-11-30 10:30:22 +00:00
bal
c814b9523d
several data structures added (moved from types.h).
...
core allocation macros added.
1984-11-30 10:28:35 +00:00
bal
39891edd12
Declarations for iv and code_info added (moved from types.h).
...
core allocation macros added.
1984-11-30 10:27:05 +00:00
bal
90df1e5b9a
core allocation macros added
1984-11-30 10:25:21 +00:00
bal
1e69d3458c
declaration for sym,num and prc added (moved from types.h)
1984-11-30 10:24:21 +00:00
bal
6988358e29
ic.h included before ic_lookup.h
1984-11-30 10:23:34 +00:00
bal
49137da06b
Lots of procedures removed (turned into macro in alloc.h or
...
moved to one specific phase).
1984-11-30 10:15:24 +00:00
bal
594a5bb49b
Lots of data structures removed and made local to one specific phase.
1984-11-30 10:14:30 +00:00
bal
e5a282c621
Lots of procedure newxxx() and oldxxx() turned into macros.
...
Lots of such procedures removed and made local to one specific phase.
1984-11-30 10:12:37 +00:00
bal
4ab54c85a8
As getbblocks() was moved to cf.c, em_flag.h need no longer
...
be included.; also, the declaration for em_flag[] was removed.
1984-11-30 10:10:41 +00:00
bal
b532117b2b
-O flag removed
1984-11-29 16:25:08 +00:00
bal
bda5c8409c
macros newlvbx and oldlvbx added.
1984-11-29 15:10:11 +00:00
bal
8a15a3f597
macros newlocal() and oldlocal() moved to alloc.h
1984-11-29 14:40:31 +00:00
bal
0c0c3b7892
-O flag removed from CFLAGS
1984-11-29 13:33:33 +00:00
bal
b0de601d5b
-O removed from CFLAGS
1984-11-29 13:31:22 +00:00
bal
7767012a6e
il_aux.h included (which now contains getcall(),putcall() etc.
...
routines that were peviously in get.c and put.c).
1984-11-29 11:08:15 +00:00
bal
bd06330739
stdio.h included (required by new interface to get.h).
1984-11-29 11:06:23 +00:00
bal
84ed8ee7ef
routines getcall(), get_text() and getcc() move from get.c to this file
...
routines putactuals(), putcall(), and putcc() move from put.c to this file
get.h, put.h, stdio.h, em_mnem.h and em_pseu.h included
1984-11-29 11:03:19 +00:00
bal
f3e35f5432
routine getbblocks (plus its auxiliary routines) moved from get.c
...
to this file; core allocation macros newcfbx() and oldcfbx() added.
1984-11-29 10:51:16 +00:00
bal
edcb838b98
newnametable() move from alloc.c to this file,
...
get_ca_lines moved from get.c to this file,
em_pseu.h and em_mes.h included (needed by get_ca_lines).
1984-11-29 10:31:44 +00:00
bal
c17a52c09d
stdio.h included (required by new get.h interface),
...
macros's newlocal() and oldlocal() added, replacing routines in
alloc.c with same name.
1984-11-29 10:25:21 +00:00
bal
0032ebfeda
getbblocks(), getcall(), getcc() and get_text() removed,
...
get_ca_lines() removed,
curinp,lastbid,lastlabid exported
getbyte(),getshort(),getoff(),read_line and getlines() exported.
1984-11-29 10:18:53 +00:00
bal
582a0cc2aa
getbblocks() removed (now local to CF phase),
...
getcall(),getcc() and get_text removed (now local to IL),
get_ca_lines() removed (now local to CA),
current input file "f" renamed "curinp" and exported,
getbyte (macro), getshort() and getoff() exported
read_line() and getlines() exported,
lastbid and lastlabid exported.
1984-11-29 10:15:23 +00:00
bal
dd5ceb7b97
putcall an putcc removed,
...
curoutp, outbyte,outshort and outoff exported.
1984-11-29 10:11:37 +00:00
bal
470826f0c9
putcall and putcc removed (make local to IL phase)
...
current output file renamed "curoutp" and exported
outbyte, outshort and outoff exported.
1984-11-29 10:09:15 +00:00
bal
1cb39eff7e
cleaned up
1984-11-28 09:26:44 +00:00
bal
502a7a86af
Initial revision
1984-11-27 16:16:36 +00:00
bal
30ca0afe49
cleaned up
1984-11-27 15:52:23 +00:00
bal
ad383cbdc0
stack_change was renamed stack_chg
1984-11-27 15:43:14 +00:00
bal
165965eadc
Initial revision
1984-11-27 15:40:13 +00:00
bal
a6d53a6bcd
"ivars" was renamed "ivvars" to avoid name conflict with sr_expr.c
1984-11-27 15:30:34 +00:00
bal
df200afd46
cleaned up
1984-11-27 15:04:04 +00:00
bal
9c3a416acd
cleaned up; dependecies added.
1984-11-27 14:53:00 +00:00
bal
9e38bfa060
cleaned up.
1984-11-27 14:25:02 +00:00
bal
2d6eff961f
cleaned up. use CC.
1984-11-27 14:23:20 +00:00
bal
0981b8857b
getoff() moved to front (was called before being defined)
...
declaration char *pseudo[] changed to char *pseudo[5] to suppress warining
1984-11-27 14:21:55 +00:00
bal
69bdddd9ba
"cc" replaced by $(CC)
1984-11-27 12:59:18 +00:00
keie
4a36e98f5c
Treatment of -R flag is altered.
...
1 - if recognized by mapflag and not by Ack internally no
complaint is given.
2 - If recognized by both mapflag and internally:
-R....-.... : effectuate only mapflag command
otherwise : effectuate both.
3 - If not recognized at all, give a warning message and
pass the flag to the linker.
1984-11-26 17:14:17 +00:00
bal
c4b4a08720
Initial revision
1984-11-26 15:15:07 +00:00
bal
6d481ce4d6
Initial revision
1984-11-26 15:04:22 +00:00
bal
6a9e49f683
Initial revision
1984-11-26 14:51:59 +00:00
bal
1833451151
Initial revision
1984-11-26 14:35:32 +00:00
bal
9f778655a6
Initial revision
1984-11-26 14:14:55 +00:00
bal
f01e1431b0
Initial revision
1984-11-26 14:07:17 +00:00
bal
415ae7e922
Initial revision
1984-11-26 13:58:05 +00:00
bal
7b798175ad
Initial revision
1984-11-26 13:43:22 +00:00
keie
36c1f227ea
Added a check for non-ascii characters in the description files.
1984-11-15 14:24:35 +00:00
ceriel
1fe1bc8c09
Forgotten to close a file. This is corrected.
1984-11-12 18:05:20 +00:00
keie
4e7f357a26
Added rcs identification.
1984-11-08 12:08:31 +00:00
keie
cb84476be0
Added a check. Minis & shorties need an N or P argument.
1984-11-08 11:09:56 +00:00
ceriel
4d48191bcc
The input routine used to skip space. This "feature" has been removed
...
because it is also used to read strings, in which space is significant.
1984-10-31 15:26:09 +00:00
ceriel
da7230a8eb
Running makedepend again gave a difference.
1984-10-26 10:31:22 +00:00
ceriel
1ca93d7aa1
removed the "depend" emtry, added a "distr" entry, which should be used
...
before a distribution is made.
Also added the -DNORCSID flag to the lint-options.
1984-10-26 10:25:55 +00:00
ceriel
c5345aaaba
Added a "distr" entry, which will be propagated to the src directory.
1984-10-26 10:24:48 +00:00
sater
be9b72e273
added -h and -c flags, to change names of tables.h and tables.c respectively
...
now also takes an argument instead of stdin.
EM_BSIZE is now compulsory again.
Constants EM_?SIZE are passed on to cg with a T prepended (T for target)
1984-10-23 13:39:15 +00:00
ceriel
9eb72b6ee8
Had forgotten to initialise the line number on which a nonterminal
...
symbol occurred first.
1984-10-12 14:19:34 +00:00
ceriel
bdc67c3332
The former version gave a fatal error message at the first undefined
...
nonterminal. The new version checks all nonterminals
1984-10-11 10:35:01 +00:00
ceriel
a33d4cdbba
The routine findpath did not work. It used the same static buffer for
...
several calls. Now it uses alloc.
1984-10-09 11:43:19 +00:00
ceriel
c89acc55c7
added "#ifdef NORCSID"
1984-10-09 10:16:33 +00:00
ceriel
d068cf64b3
Added some comments and removed some Lint complaints
1984-10-09 10:13:46 +00:00
ceriel
774ce1ecc3
Initial revision
1984-10-09 09:47:14 +00:00
ceriel
dd1bcb3f60
The routine LLmessage did not insert tokens properly.
...
This is corrected now.
1984-10-09 09:33:37 +00:00
ceriel
317ab99ecf
Changed RCSid
1984-10-08 17:11:03 +00:00
ceriel
474d9d6e0f
Added RCSid.
1984-10-08 16:21:03 +00:00
ceriel
a9a0339ec1
Adapted the libpath routine to use EM_DIR from ../../../h/em_path.h
1984-10-08 15:58:23 +00:00
ceriel
58b1dd5b6d
Initial revision
1984-10-08 15:19:18 +00:00
ceriel
a7c0f30307
Initial revision
1984-10-08 14:51:38 +00:00
ceriel
de22c41214
Initial revision
1984-10-08 14:24:19 +00:00