eck
ccc5f10fca
fixed bugs with storage-class and void in prototype
1990-12-17 13:08:05 +00:00
eck
73231e630b
added error message because of declaration problems
1990-12-13 09:14:54 +00:00
eck
007151ef1d
improved error-handling on conditionally excluded #-lines
1990-12-10 11:17:34 +00:00
dick
495a037714
lint update (merge from C compiler)
1990-12-07 14:42:26 +00:00
eck
0b35c31e5b
fixed bug with function returning pointer to function
1990-12-04 11:09:34 +00:00
ceriel
ae8ca35563
made Makefile more portable
1990-11-27 16:41:13 +00:00
ceriel
713521e0f5
make cmp entry was wrong
1990-11-22 13:48:08 +00:00
eck
7536a1f510
fixed two preprocessing bugs
1990-11-13 16:50:55 +00:00
eck
8a00e32bc8
fixed type of sizeof (decreases size!)
...
fixed bug with typedef of function with block scope
1990-11-12 15:28:44 +00:00
eck
d7c15759ee
added warning about old-fashioned declarations
...
cleaned up error reporting
changed implicit declaration handling
1990-11-02 09:23:27 +00:00
eck
aef60fdda1
initialize sp_occurred[SP_SETJMP] at start of function
1990-10-26 12:38:06 +00:00
eck
ba0cc3a57d
fixed small bug (void expr. cast to void), squeezing for MINIX
1990-10-23 14:13:10 +00:00
eck
b4f97588b7
fixed bug with undefined structs
...
ceriel changed debugging information
1990-10-19 11:50:32 +00:00
eck
c3f305bea1
fixed bug with undefined structs
...
ceriel changed debugging information
1990-10-19 11:21:43 +00:00
ceriel
4483f237f6
de-linted somewhat
1990-10-02 17:13:40 +00:00
ceriel
41e3cf403b
Added support for debugger, de-linted somewhat
1990-10-01 15:28:28 +00:00
eck
fc6247ca5e
removed some names from tokenname.c
1990-09-28 14:03:15 +00:00
eck
7dff46d44e
fixed bug with -I flag
1990-09-27 15:59:38 +00:00
eck
5eb4a8d88f
oops, fix for ## operator was wrong
1990-09-25 13:46:59 +00:00
eck
a246152240
removed crash() call: it was wrong
1990-09-14 16:39:11 +00:00
eck
5ed44e3432
fixed error with # && ##-operators in non function-like macro's
...
pass printable garbage characters on to parser
1990-09-13 15:12:13 +00:00
eck
e144c7cc4c
fixed bugs with prototype scopes
1990-09-12 16:36:16 +00:00
eck
33c9811ba9
sometimes swap operands in expressions with side-effects
1990-09-06 14:49:52 +00:00
eck
2f0275ba3c
added some optimalizations
1990-09-06 11:32:51 +00:00
eck
b2efe2299f
fixed bug in qualifier_type()
1990-09-04 10:48:04 +00:00
eck
02ea4988d1
fixed problems with declaration syntax
1990-09-03 13:46:30 +00:00
eck
47249aaad3
atw.h was wrong, since word_size may contain a cast
1990-07-20 10:30:49 +00:00
eck
43b01a70a0
squeezing for MINIX & bug fix in dumpidf
1990-07-19 17:16:36 +00:00
eck
7f5abdd670
fixed int to unsigned conversions, declarations, pp-list initialization
1990-07-13 10:18:27 +00:00
ceriel
0105d98302
tp_unsigned is now a true boolean
1990-06-21 15:49:41 +00:00
ceriel
f234f061a1
Added dependency generator, reduced size of type structure
1990-06-08 10:03:47 +00:00
ceriel
c4dabcd9a4
unsigned but-fields were sometimes sign-extended when converted to int
1990-05-18 10:29:57 +00:00
ceriel
0c6f2f490f
the tp_sdef field of the type structure may only be used after checking tp_fund
1990-05-15 15:28:01 +00:00
eck
a1e2a583b5
fixed bug with double definition
1990-05-03 16:18:22 +00:00
eck
dc12b2fa3d
warn about ptrdiff_t passed as long on 2-4 machines
1990-04-25 15:09:51 +00:00
eck
81b7f67cb4
result of sizeof() is 'unsigned int' (for backward compatibility)
1990-04-23 13:33:07 +00:00
eck
64e9d11570
the -U option did not work properly; call do_undef() now
1990-04-18 16:40:17 +00:00
eck
52f08181a6
two -D options for one identifier didn't work
1990-04-18 13:09:36 +00:00
eck
a3f1aaa41f
don't free prototype lists, they might be part of a typedef
1990-04-10 10:14:46 +00:00
eck
aa4de95f26
various bug fixes & improvements
1990-04-06 15:37:16 +00:00
eck
ad7e46a324
code for '*(ip = iarr) = x' was wrong
1990-04-04 15:08:45 +00:00
eck
84b8c8a6ca
improved volatiles, added warning for possibly nested comments
1990-04-02 15:57:51 +00:00
eck
ed2516a57a
bug fixes after test-suite
1990-03-29 10:41:46 +00:00
ceriel
57790a926f
simplified stupid ?: expression
1990-03-20 16:24:21 +00:00
eck
9a5ac60946
changed target_sizes.h to trgt_sizes.h
1990-03-12 13:35:26 +00:00
eck
61b718d716
floating-point yet again, fixed debugging bug
1990-03-01 13:02:39 +00:00
eck
2dd3439f90
also give a message on loading a floating-point function result
1990-02-28 15:32:07 +00:00
eck
44d9a8b42d
improved the generation of floating-point messages
1990-02-28 14:51:35 +00:00
ceriel
63e64680bd
Added some code to reverse evaluation order of assignment operators when possible
1990-02-28 12:18:36 +00:00
eck
073c81c9aa
added extern declaration for flt_flt2arith()
1990-02-26 15:39:45 +00:00
ceriel
1228fe1baf
a few fixes: usual arithmetic conversions were wrong
1990-02-20 13:31:52 +00:00
eck
67819cfd6c
made a little mistake with the #else and #endif
1990-02-09 11:29:57 +00:00
eck
d7d56d2cbb
fixed bug with 0L; don't give warning on char x[3] = "abc"
1990-02-09 10:35:44 +00:00
eck
5625842582
fixed 2 bugs with line directives
1990-02-02 09:56:35 +00:00
eck
945c0dc404
don't recognize any pragma's (mechanism is still present)
1990-01-31 11:52:40 +00:00
eck
114048df57
ignore qualifiers when looking for sdef
1990-01-30 11:19:30 +00:00
eck
721005b4d7
big fix for #include in macro argument
1990-01-26 14:59:50 +00:00
eck
86501edf9e
big fix: auto aggregate strings didn't work
1990-01-22 16:16:03 +00:00
eck
b8d6eae391
fixed bug: tp_up is field in union; be more careful
...
give warning for struct/union declarations in prototypes
1990-01-18 16:58:53 +00:00
eck
c4e0fddf5b
MINIX squeezing with strings, fixed small preprocessor bug
1990-01-16 15:21:15 +00:00
eck
00876cd9df
added alloction dump
...
shrunk some data structures
changed some ALLOCDEF's
changed setjmp to __setjmp
1990-01-10 17:33:35 +00:00
eck
abcaa3e669
changed UnGetChar() to ChPushBack() in domacro.c
1990-01-05 09:28:54 +00:00
ceriel
b60e8cead1
corrected install entry
1989-12-19 13:56:57 +00:00
ceriel
a1f5834052
use normal C compiler
1989-12-19 11:07:03 +00:00
eck
8790a879c9
fixed sizeof()
1989-12-13 12:53:22 +00:00
eck
bdb0b550f7
U-flag was not handled properly
1989-12-12 14:59:59 +00:00
eck
b3a142e244
fixed null-pointer constants and SkipToNewLine()
1989-12-12 12:52:03 +00:00
eck
5f3e4693e6
array type-checking was wrong
1989-11-28 15:28:52 +00:00
eck
671556cfc4
improved type-checking, fixed preprocessor bug, fixed syntax bug
1989-11-27 11:37:11 +00:00
eck
d50600e263
fixed unary & and indirect calls
1989-11-22 16:41:09 +00:00
eck
96da16ce33
fixed bugs, added dynamic buffer allocation to preprocessor
1989-11-22 13:58:36 +00:00
ceriel
01b937d82e
some arith variables changed into int
1989-11-21 11:28:56 +00:00
ceriel
c023409091
improved make.tokcase for EOF handling
1989-11-17 11:41:47 +00:00
ceriel
b6c29b5541
fixed bug which caused memory faults on erroneous input
1989-11-17 11:36:43 +00:00
ceriel
676fee0a3e
fixed bug which caused unsigned bitfield problems
1989-11-17 11:28:38 +00:00
ceriel
d57dfac961
improved error messages
1989-11-17 11:27:26 +00:00
eck
776233c718
improved qualifier checking
1989-11-13 14:01:50 +00:00
ceriel
0ce3cd0c76
no casts in constants used in #if!
1989-11-09 18:07:14 +00:00
ceriel
013a6f9cd6
cleaned up a little
1989-11-09 14:06:35 +00:00
ceriel
cfc1d926bf
minor mod: added comment and removed a variable
1989-11-09 12:33:08 +00:00
ceriel
67f9f2a74f
many little changes: removed some lint complaints; max_int and max_unsigned
...
are now constants if NOCROSS is defined; added lexstrict and expr_strict,
and changed calls where needed
1989-11-08 16:52:34 +00:00
ceriel
3dc49877a5
Made suitable for fast compiler version
1989-11-06 16:01:13 +00:00
eck
7a18c01a7c
relaxed typechecking a little bit
1989-10-31 10:48:20 +00:00
eck
480de7cafb
fixed some bugs, changed warning interface
1989-10-27 13:33:10 +00:00
ceriel
0f8516f861
use more simple hashing algorithm, made namelist generation dependant on a #define
1989-10-26 16:16:35 +00:00
eck
9286928275
improved domacro when NOPP defined
1989-10-24 15:02:02 +00:00
eck
dfb4d0c576
deleted } in arith.c
1989-10-23 14:39:33 +00:00
ceriel
4a5a463e44
improved handling of , (comma) operator and some more Minix squeezing
1989-10-23 13:50:27 +00:00
ceriel
cf3bcb5e63
Added routine to evaluate operands of binary operator
1989-10-20 17:08:48 +00:00
ceriel
352c5c581b
some more Minix squeezing
1989-10-20 16:16:06 +00:00
eck
b6a7d4fa0f
Minix again
1989-10-20 13:06:10 +00:00
ceriel
d6fa6357f2
some more Minix squeezing
1989-10-20 11:58:37 +00:00
ceriel
3d5569183e
some more squeezing for Minix
1989-10-19 19:29:39 +00:00
ceriel
e4857c2446
many minor modifications (it still will not fit on Minix!)
1989-10-19 14:53:25 +00:00
eck
8ff400fd0f
squeezing for MINIX
1989-10-18 13:12:31 +00:00
eck
46fb868503
introduced TABGEN variable
1989-10-17 11:35:13 +00:00
eck
aa2bfa7738
adjusted sources for NOPP
1989-10-16 12:38:25 +00:00
eck
fd259c398c
fltcstoper.c addded to Repository
1989-10-13 11:04:42 +00:00
ceriel
10b58a8520
The InputLevel variable only exists when NOPP is not defined
1989-10-12 14:22:35 +00:00
eck
4bde31f78a
minor changes concerning void and pre-processor
1989-09-29 16:20:38 +00:00
eck
00027d3893
some minor fixes, renamed ch7 stuff to ch3
1989-09-25 14:28:10 +00:00
eck
fa4e6eecb4
lots and lots of changes & improvements
1989-09-19 16:13:23 +00:00
ceriel
f7790b0e8e
empty string in directory list now means current directory
1989-02-16 11:46:39 +00:00
ceriel
eb3dcf275e
fixed some problems, updated with cemcom
1989-02-14 14:35:38 +00:00
ceriel
0bc88b77b2
fixed several problems:
...
- hex numbers and floating point numbers were wrong
- grammar was wrong; did not accept correct ANSI C
- prototype updates did not work
- float parameters to routines without prototype were not upgraded to double
- the dot operator no longer requires lvalue as left-hand-side
1989-02-07 13:16:02 +00:00
ceriel
926da49d39
Initial revision
1989-02-07 11:04:05 +00:00