acqn
|
aa5d44b2b0
|
Fixed endlessly repeated error messages when a declaration lacks a required identifier.
|
2022-11-02 23:58:20 +08:00 |
|
acqn
|
9b39c3f949
|
Fixed garbage enum tag name appeared in diagnostic messages if the enum tag declaration failed.
|
2022-11-02 23:58:18 +08:00 |
|
acqn
|
d2f74db4d8
|
Fixed compatibility checks on "pointer to pointer" vs "pointer to array" etc.
|
2022-11-02 22:44:57 +08:00 |
|
acqn
|
deb5e97732
|
Fixed diagnostic messages on enumerator overflow.
An enumerator that would be incremented greater than ULONG_MAX now causes an error.
|
2022-11-02 14:22:21 +08:00 |
|
acqn
|
e9413567d7
|
Renamed several functions relevent with input file info.
|
2022-11-02 14:16:15 +08:00 |
|
acqn
|
8fb2576626
|
Fixed processing '\\' followed with a newline and line number output (-E) with it.
|
2022-11-02 14:09:15 +08:00 |
|
acqn
|
d84cc2d122
|
Fixed errors in the conditional operator "? :" parser.
|
2022-11-02 13:56:55 +08:00 |
|
Lauri Kasanen
|
c95c9c2749
|
Allow specifying range end as a size
|
2022-10-27 18:20:37 +03:00 |
|
acqn
|
b81e54c1d2
|
Organized ExprDesc functions and fixed several comments.
|
2022-10-24 14:55:39 +08:00 |
|
Lauri Kasanen
|
b052e64089
|
Speed up sim65 by 10%
|
2022-10-17 13:32:38 +03:00 |
|
Bob Andrews
|
34ff99aef0
|
Merge pull request #1877 from bbbradsmith/integer_constant_warning_rephrase
Rephrasing warnings for suspicious decimal integer constants
|
2022-10-16 22:15:59 +02:00 |
|
Bob Andrews
|
89031594eb
|
Merge pull request #1876 from bbbradsmith/constant_overflow_warning
Emit warning for signed integer constant overflow
|
2022-10-16 22:15:22 +02:00 |
|
Bob Andrews
|
b2238fdcd4
|
Merge pull request #1868 from acqn/PPFix
[cc65] Fixed and improved C preprocessor
|
2022-10-16 19:02:23 +02:00 |
|
Bob Andrews
|
3aadf6c66e
|
Merge pull request #1867 from acqn/Diagnostics
[cc65] Diagnostics improvements
|
2022-10-16 18:26:26 +02:00 |
|
bbbradsmith
|
66698d4b1a
|
Rephrasing warnings for suspicious decimal integer constants
|
2022-10-14 16:47:11 -04:00 |
|
bbbradsmith
|
4540205b0d
|
Emit warning for signed integer constant overflow
|
2022-10-13 23:49:07 -04:00 |
|
Lauri Kasanen
|
d52ef67d51
|
Fix compilation after the postproc merge
|
2022-10-12 10:28:14 +03:00 |
|
acqn
|
a4a1230c62
|
Renamed some C type facility and fixed a few comments.
Added some new C type code facility.
Removed some unused type predicates.
|
2022-10-12 13:10:17 +08:00 |
|
acqn
|
feaedc5b50
|
Better organized stuff related to C types.
|
2022-10-12 13:10:17 +08:00 |
|
acqn
|
a2dfa7c721
|
More consistent names for SymEntry functions.
|
2022-10-12 13:10:17 +08:00 |
|
acqn
|
164eb198ce
|
Moved type facility functions for deciding code generation type flags.
|
2022-10-12 13:10:17 +08:00 |
|
acqn
|
2cda47cd36
|
More descriptive names for SymEntry usage.
|
2022-10-11 14:14:48 +08:00 |
|
acqn
|
959be2c98c
|
SymEntry struct cleanups.
|
2022-10-11 14:14:38 +08:00 |
|
Bob Andrews
|
71d64a3c1c
|
Merge pull request #1857 from acqn/PPFix
[cc65] Improved preprocessor
|
2022-10-09 19:00:07 +02:00 |
|
acqn
|
9eab36b95a
|
Fixed block-scope extern declarations visibility.
Fixed missing file-scope static function codegen output in a rare care.
|
2022-09-30 14:32:08 +08:00 |
|
acqn
|
9900e7361d
|
#pragma message now uses the new "note" level message routine.
|
2022-09-30 09:09:09 +08:00 |
|
acqn
|
715aa919e6
|
C++ style comments in C89 mode will cause errors only once per input file.
|
2022-09-29 19:47:31 +08:00 |
|
acqn
|
29c9cb3e00
|
Improved diagnostics on conflicting type declarations.
|
2022-09-29 19:38:32 +08:00 |
|
acqn
|
96df4e8b5e
|
Added a diagnostic level "note" for infomative messages.
|
2022-09-29 19:38:32 +08:00 |
|
acqn
|
133507b031
|
Fixed line info for #pragma messages and diagnostics.
|
2022-09-29 17:55:09 +08:00 |
|
Rutger van Bergen
|
2b07204952
|
Merge branch 'cc65:master' into kim1
|
2022-09-19 20:03:23 +02:00 |
|
Rutger van Bergen
|
cb8cb876ec
|
Add documentation, make capitalization uniform
|
2022-09-19 19:56:57 +02:00 |
|
mrdudz
|
fd6d00a4dd
|
revert 6096a24 - this breaks the case when the "label" is an expression containing spaces.
fixes bug #1853
|
2022-09-17 14:41:59 +02:00 |
|
mrdudz
|
253af1ed07
|
Force 16bit address for absolute-indirect-x-indexed in 65816 mode.
should fix issue #1846 (and hopefully not break anything :))
|
2022-09-03 18:36:40 +02:00 |
|
acqn
|
b4ddd01d78
|
Fixed checks on __VA_ARGS__.
|
2022-09-01 12:58:52 +08:00 |
|
acqn
|
950606d46a
|
Improved diagnostics on wrong number of arguments in function-like macro calls.
|
2022-09-01 12:59:00 +08:00 |
|
acqn
|
92f94e4e5b
|
A space character will be inserted in front of a leading '#' pp-token as the result of macro expansion.
|
2022-09-01 12:58:52 +08:00 |
|
acqn
|
770e529b20
|
Fixed newline counting inside old C style comments.
|
2022-09-01 12:58:52 +08:00 |
|
acqn
|
3d1e322519
|
Fixed keeping spacing in certain rare cases.
|
2022-09-01 12:58:52 +08:00 |
|
acqn
|
942ee47d05
|
Changed supposed usage of the original line input stack. It is now used for reusing input lines.
|
2022-09-01 12:58:52 +08:00 |
|
acqn
|
dc001cb4be
|
Reverted E_ADDRESS_OF logic fix.
Added testcase.
|
2022-09-01 12:56:46 +08:00 |
|
mrdudz
|
5bda57de87
|
add extra underscore to _bzero, add a test for bzero/memset
|
2022-08-29 23:20:48 +02:00 |
|
mrdudz
|
d371046ae4
|
Despite not technically needed, it seems to be desirable to remove all trailing whitespace from inline assembly
|
2022-08-28 03:43:02 +02:00 |
|
mrdudz
|
6096a24f1d
|
dont add whitespace after a label to the actual label, this fixes the root cause of #1252
|
2022-08-28 03:41:48 +02:00 |
|
acqn
|
9f8bfb859c
|
Fixed handling adjacent macro expansions that should not concatenate.
Example: F()G /* expansion results of F() shall not be concatenated with G */
|
2022-08-22 14:34:50 +08:00 |
|
acqn
|
c7ff416ce9
|
Fixed wide strings for preprocessor.
|
2022-08-22 14:34:50 +08:00 |
|
acqn
|
be95cb8f58
|
Fixed stringized macro argument concatenation.
Example: #define s(a) L## #a.
|
2022-08-22 14:34:50 +08:00 |
|
acqn
|
6260414136
|
The '#' operator in macro replacement is now checked at macro definition instead of macro expansion.
|
2022-08-22 14:34:50 +08:00 |
|
acqn
|
2f6b5621cc
|
Changed handling on nested macro replacement to match up with the behavior of other major C compilers, which is unspecified by the C standard.
|
2022-08-22 14:34:50 +08:00 |
|
acqn
|
95e5471cd6
|
Better preprocess macro expansion.
|
2022-08-22 14:34:50 +08:00 |
|