George Koehler
f705339f86
Allow more tokens in the assembler.
...
I need this so I can add more %token lines to mach/powerpc/as/mach2.c
The assembler's tempfile encoded each token in a byte. This only
worked with tokens 0 to 127 and 256 and 383. If a token 384 or higher
existed, the assembler stopped working. I need tokens 384 and higher.
I change the token encoding to a 2-byte little-endian integer. I also
change a byte in the string encoding.
2017-01-17 22:41:11 -05:00
George Koehler
ba2a03705e
Use prototypes in mach/proto/as/comm5.c
...
Order the function prototypes in comm1.h to match the order of the
function definitions in *.c files.
2017-01-17 16:41:29 -05:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
468d98750c
Fixed problem with relocation,
...
added curr_token, so that parser can access token
1993-02-08 13:01:30 +00:00
ceriel
1ed0f8180f
hash() now returns same value on 2-byte and 4-byte machines
1991-02-04 14:25:58 +00:00
ceriel
0b26bdf5fb
Some changes in search for more efficiency
1991-01-11 14:20:59 +00:00
ceriel
e0ff37aa6e
support for long strings
1990-08-01 14:30:45 +00:00
ceriel
b45706ce7a
delinted a little
1989-01-19 16:41:55 +00:00
ceriel
3edf9486c9
fixed to not accept dots in numbers
1988-04-22 18:34:22 +00:00
ceriel
a1ae336247
first arg to putc must be int or char, not long
1987-09-01 18:31:42 +00:00
ceriel
16c73e6654
use malloc instead of sbrk
1987-08-06 13:04:20 +00:00
ceriel
6eaf182cee
Added Rcs Id
1987-03-10 11:49:39 +00:00
ceriel
815166e421
Added copyright notice
1987-03-09 19:15:41 +00:00
ceriel
e188fe0956
Version that uses libobject.a
1986-12-01 15:41:29 +00:00
keie
772b64fabd
*** empty log message ***
1985-04-12 16:56:43 +00:00