1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00
Commit Graph

9299 Commits

Author SHA1 Message Date
Spiro Trikaliotis e35f4fb48f Invalid flagged errors if token is missing
A missing factor in an expression causes an expected but missing token
to be skipped, leading to invalid flagged errors in the following line:

l = 3 +
lda     #$00

An error should be output for line 1, but not for line 2. Actually, both
are flagged as errors:

test.s(1): Error: Syntax error
test.s(2): Error: Unexpected trailing garbage characters

This patch (as proposed in issue #1634 by kugelfuhr) fixes this.
2022-07-21 03:18:13 +02:00
mrdudz 3b964c9674 add hint on VICE -moncommands 2022-07-21 03:18:13 +02:00
acqn 479f450d11 Testcase for #1662. 2022-07-21 03:18:13 +02:00
acqn ace0bc414b Fixed anonymous bit-fields declared with typedef'ed type names. 2022-07-21 03:18:13 +02:00
acqn 879ed5bb95 Fixed crash with labels in non-function/block scopes. 2022-07-21 03:18:13 +02:00
Greg King 800568dd58 Added code that avoids infinite loops that were caused by circular references
(a symbol that was defined by referring to itself directly or indirectly).  Patch by kugelfuhr.
2022-07-21 03:18:13 +02:00
mrdudz 2628a176f9 attempt to prevent utils being compiled with cc65 2022-07-21 03:18:13 +02:00
mrdudz 648c8e21e3 build utilities in a seperate step 2022-07-21 03:18:13 +02:00
Greg King c138454bcc Removed geos_apple and geos_cbm from the lists of targets.
They need resource files to go with the program source files.  The top-level samples and targettest programs don't have those resources.
2022-07-21 03:18:13 +02:00
Greg King bc46c90cfa Added '+' to another SUBDIRS_recipe. 2022-07-21 03:18:13 +02:00
Greg King 9c1c1c04d8 Moved the platform-test enumerations from Github Actions over to makefiles.
Now, we can run those tests locally, as well as on Github.
2022-07-21 03:18:13 +02:00
Wayne Parham bf46abf8c5 Correction of link typos 2022-07-21 03:18:13 +02:00
Wayne Parham dd38de6263 Added note about return value being function status. 2022-07-21 03:18:13 +02:00
Wayne Parham 0302e7be97 Typo correction. 2022-07-21 03:18:13 +02:00
Wayne Parham c60144afbb Documentation updates for Sym-1. 2022-07-21 03:18:13 +02:00
mrdudz 138d2badb2 upload snapshot to sourceforge 2022-07-21 03:18:08 +02:00
mrdudz b9bda8c40d test upload again 2022-07-21 03:13:10 +02:00
mrdudz 561e973c5d try publishing on sf after snapshot 2022-07-21 03:13:10 +02:00
mrdudz 76026ed59e use gamate-fixcart from util dir 2022-07-21 03:13:10 +02:00
mrdudz 16acb7675e move some things from targettest to samples 2022-07-21 03:13:10 +02:00
mrdudz 1af84ed9a0 fix this too 2022-07-21 03:13:10 +02:00
mrdudz 6129ff532b fix again. sigh 2022-07-21 03:13:10 +02:00
mrdudz f6e7a91fb4 fix 2022-07-21 03:13:10 +02:00
mrdudz 9509288b80 remove programs in util dir before making a snapshot. we might later
decide to leave them there anyway.
2022-07-21 03:13:10 +02:00
mrdudz f800e71d7a cleanup 2022-07-21 03:13:10 +02:00
mrdudz 0300d4fcd1 utils before samples 2022-07-21 03:13:10 +02:00
mrdudz 0046d8ec5c build util dir when testing 2022-07-21 03:13:10 +02:00
mrdudz bcc03acfc8 also compile the programs in the util directory by default, not only
do we want to test they can be compiled, but also samples may use/require
them. we might want to install them too, perhaps
2022-07-21 03:13:10 +02:00
Greg King e0b23258dc Added the names of samples and targettest programs that the telestrat library can build now. 2022-07-21 03:13:10 +02:00
Greg King 8bf9766e9e Added to the telestrat library the name of the standard dynamic TGI driver. 2022-07-21 03:13:10 +02:00
Greg King bdd7466afd Added telestrat to <time.h>.
That library has clock().
2022-07-21 03:13:10 +02:00
polluks 2ed9df708f Fixed many typos 2022-07-21 03:13:10 +02:00
polluks ad95ba7854 Added tail call optimization 2022-07-21 03:13:10 +02:00
Oliver Schmidt 27f975666c Disable double hires on exit.
A program being run afterwards might not even know about the existence of double hires. So it's our task to turn double hires off on exit.
2022-07-21 03:13:10 +02:00
Greg King 103d3ccfcd Fixed the cart directory build code to handle even simple programs.
Carts can be built containing programs that don't link some segments.
2022-07-21 03:13:10 +02:00
Greg King 3885dd8504 Removed an obsolete command-line option from the cc65 compiler. 2022-07-21 03:13:10 +02:00
Greg King 5cad3ce55a Fixed heaptest.c compiler warnings in a way that's better than PR #1621.
This fix adds "unsigned" to one line instead of removing it from several lines.
2022-07-21 03:13:10 +02:00
mrdudz f1e70517ec the forgotten minimal testprog 2022-07-21 03:13:10 +02:00
mrdudz afc80949e3 build targettest progrs for all targets 2022-07-21 03:13:10 +02:00
mrdudz 6eca9a6aac fix Makefiles for all targets, dive into subdirs like in samples 2022-07-21 03:13:10 +02:00
polluks 33bb1a22ff Removed the colour purple
This commit may break compatibility.
2022-07-21 03:13:10 +02:00
polluks df662f4b66 Added more purple (rain) 2022-07-21 03:13:10 +02:00
polluks d6349e0f92 Save a few bytes 2022-07-21 03:13:10 +02:00
mrdudz 69346960b8 samples makefile already goes through the subdirs correctly 2022-07-21 03:13:10 +02:00
mrdudz 7a0d630d1b actually use all targets for the samples dir 2022-07-21 03:13:10 +02:00
mrdudz f82208b009 fix for atari5200 2022-07-21 03:13:10 +02:00
mrdudz 1e7886b9c7 build samples for all targets 2022-07-21 03:13:10 +02:00
polluks 5f151b1316 Revert commits 2022-07-21 03:13:10 +02:00
mrdudz 09f2dc8d69 comment out all the non working targets 2022-07-21 03:13:10 +02:00
mrdudz e602d6e9c3 add sym1 target 2022-07-21 03:13:10 +02:00