mrdudz
9e43c0a569
added a test related to pr#1102 - we can now return structs by value when they are max. 4 bytes
2020-07-21 21:04:41 +02:00
mrdudz
145084c41c
move test for issue #1075 to test/var
2020-07-21 20:02:51 +02:00
mrdudz
42c162c15e
rework test for issue #1075 to return an exit code
2020-07-21 19:58:36 +02:00
mrdudz
a0c80a8c72
move (now working) tests to test/val
2020-07-21 19:24:39 +02:00
mrdudz
b2d7998241
update makefile to use $(NOT) as discussed with Oliver
2020-07-21 19:15:41 +02:00
acqn
07e18774f7
Added spaces around '|' with regex replacement.
2020-07-21 18:23:52 +02:00
acqn
c66d0881b9
Made the enum/enumerator types clearer and improved DumpSymEntry() output.
2020-07-21 18:23:52 +02:00
acqn
18bd76bb90
Minor fixes and improvements.
2020-07-21 18:23:52 +02:00
acqn
65081aebed
Made able to recognize global declarations of static arrays. Fixed Issue #975 .
2020-07-21 18:23:52 +02:00
acqn
0250c87ac6
Fixed SC_* type masks by making them all bitwise-exclusive.
2020-07-21 18:23:52 +02:00
mrdudz
e4fc7a0fec
reworked pptest3 into an exectutable test and moved to test/val
2020-07-21 15:30:35 +02:00
mrdudz
010ed6d729
reworked pptest1/4/5 into executable tests and moved to test/val
2020-07-21 14:58:15 +02:00
mrdudz
638e254668
rework pptest2 into a runable test and move to test/misc (since it does not compile with cc65)
2020-07-21 14:48:49 +02:00
Greg King
b60b303c5d
Added a missing asterisk to a "hardware" struct definition.
2020-07-20 21:40:44 -04:00
Greg King
517df130cc
Made a regression test increment a variable after, instead of before, using it.
...
That change allows the initial value of zero to be tested.
2020-07-20 17:16:11 -04:00
mrdudz
5a9d76ad52
added test for issue #1108
2020-07-20 15:50:11 +02:00
acqn
78342fa82c
Fix for "auto" variables made "static" with the "-Cl" options.
2020-07-20 15:01:47 +02:00
acqn
71c2d27705
Removed an ED_IsBitField() test according to PR review.
2020-07-20 14:54:32 +02:00
acqn
2245783345
Fixed ability to do actual type conversion from bit-fields to integers. Note this doesn't try to fix the signedness issues.
2020-07-20 14:54:32 +02:00
acqn
b67b8ddd38
Disabled applying 'sizeof' to bit-fields.
2020-07-20 14:54:32 +02:00
acqn
62a6e37487
Made the code handling '&expression' slightly tidier.
2020-07-20 14:54:32 +02:00
acqn
3c52ad1d9e
New utility ED_DisBitField() to make an expression no longer a bit-field.
2020-07-20 14:54:32 +02:00
Greg King
fd0a6955da
Changed "IsTypeStruct() || IsTypeUnion()" expressions into shorter "IsClassStruct()" expressions.
...
Type-classes are groups of types that can be handled in the same way (similar syntax).
2020-07-19 14:30:22 -04:00
Oliver Schmidt
ee208aecd6
Removed unnecessary tool.
...
It's not the domain of cc65 to provide tools already available elsewhere.
2020-07-19 13:16:29 +02:00
acqn
29c50ab25f
Corrected the error message about struct/union members not found.
2020-07-19 12:57:59 +02:00
Jesse Rosenstock
bbcb39978c
Add test of signed bitfields for #1095
2020-07-19 11:05:27 +02:00
acqn
768e03a474
Small fixes and tidy-up based on PR review.
...
Renamed GetReplacementType() to GetStructReplacementType().
Clarified in comments that most *Struct* facilities work for unions as well.
Made it clear in some error messages with regards to structs/unions.
2020-07-19 10:58:33 +02:00
acqn
0c3e1b491f
Disabled -Wstruct-param by default.
2020-07-19 10:58:33 +02:00
acqn
b45d373fd6
Fixed passing by value structs/unions <= 4 bytes in size to functions. Larger ones are forbidden for now.
2020-07-19 10:58:33 +02:00
acqn
9f67b45ea0
Fixed returning by value structs/unions <= 4 bytes in size from functions. Larger ones are forbidden for now.
2020-07-19 10:58:33 +02:00
acqn
66ecc0e52c
New utility to get the proper replacement type for passing structs/unions by value.
...
New utility to get basic type names such as 'struct', 'union' and so on.
2020-07-19 10:58:33 +02:00
acqn
333fa97326
Whitespaces/newlines fixes.
2020-07-18 12:54:29 +02:00
acqn
9198b3be00
Fixed '&function' and '&array'.
2020-07-18 12:54:29 +02:00
acqn
d23b577331
More compiler flags on address types to match the location types of expressions.
2020-07-18 12:54:29 +02:00
acqn
2108489523
Fix for Issue #1075 and #1077 .
2020-07-18 12:54:29 +02:00
Greg King
ba48dfe65d
Fixed a typo in the CX16 document.
2020-07-16 14:06:23 -04:00
Spiro Trikaliotis
0e55d33cc3
Fix info page building for newer linuxdoc
...
In ca65.sgml, the following pattern was used in tables in order to
create an empty row:
||~@
That is, the first two columns are empty, the last one has an
Unfortunately, with newer linuxdoc, this fails, as the empty columns
create two @item directly after each other, which is not allowed.
Changing this to
~|~|~@
fixes it by adding an " " into each column.
Furthermore, the last line had a "newrow" (@) separator, which created
an artifact. Removed that one.
2020-07-16 19:25:40 +02:00
Greg King
4296cbaf82
Added a 320x200x256 TGI driver to the Commander X16 library.
...
Made the mandelbrot sample program handle the X16's 256 colors.
2020-07-15 17:30:58 -04:00
Christian Groessler
72fff0cfbc
atari.h: fix definition of KEY_UP
...
noticed by Stefan Wessels
2020-07-15 23:00:12 +02:00
Greg King
ba0ef5938d
Moved the font into a separate module in the library.
...
The font can be replaced, at link-time, by a custom file.
2020-07-15 04:58:32 -04:00
Olli Savia
a02bec11e9
Another code style fix
2020-07-14 22:54:03 -04:00
Olli Savia
b3703de983
Code style fixes
2020-07-14 22:54:03 -04:00
Olli Savia
de5678af5d
Added optimizations by dmsc
2020-07-14 22:54:03 -04:00
Olli Savia
e2ec517aae
Save another 3 bytes
2020-07-14 22:54:03 -04:00
mrdudz
306f421aa9
Merge branch 'master' of https://github.com/cc65/cc65
2020-07-15 00:17:41 +02:00
mrdudz
6035f1cb75
added missing gotox/gotoy functions
2020-07-15 00:17:11 +02:00
Greg King
9023e975df
Stopped the C128 mouse drivers from blocking certain keys such as '1', '2', and 'Q'.
...
This extra fix is needed because the C128 keyboard scanner works a little differently than the C64 scanner works.
Fixes #696 . Fixes #853 .
2020-07-14 16:06:21 -04:00
mrdudz
3558c0796d
added a second test that checks all available characters (including inverse)
2020-07-14 15:00:43 +02:00
mrdudz
f99a44d8e1
added rudimentary testing for the peek functions
2020-07-14 14:24:19 +02:00
mrdudz
1f2fdbd9b1
implemented conio peek functions for PCE target
2020-07-14 14:23:58 +02:00