35e1efc7f2
Moved misc/bug1048 as it is already correctly rejected by the compiler.
acqn
2020-07-26 20:40:27 +08:00
7e243e0f2c
Allowed using all integer types including enum and char types to define bit-fields, but kept the currently behavior that all of them are treated as unsigned int.
acqn
2020-07-26 20:12:59 +08:00
d8184fbe54
No longer insert all enums in the global symbol table.
acqn
2020-07-26 20:12:59 +08:00
daa65199b3
Fixed underlying types of enums. Made enumerator diagnostics more sensible. Fixed Issue #1048 as a natural result.
acqn
2020-07-26 20:12:55 +08:00
c272c73686
Add err test for char bit-fields #1047
Jesse Rosenstock
2020-07-28 13:47:47 +02:00
c0f2b69bef
Add test case for sign extending < 1 byte
Jesse Rosenstock
2020-07-19 22:59:44 +02:00
04d16b3740
Make $WORKDIR for tests/err
Jesse Rosenstock
2020-07-28 13:38:49 +02:00
cdd23edd37
Added building of samples.
Oliver Schmidt
2020-07-27 17:59:24 +02:00
4316242d7e
Adjusted to 5df2de0629 (and slightly simplified).
Oliver Schmidt
2020-07-27 17:47:14 +02:00
afe455238c
added test related to issue #1113
mrdudz
2020-07-22 15:55:55 +02:00
98b2d43c2b
added tests related to pr #1110
mrdudz
2020-07-22 15:52:04 +02:00
ce06b20c6c
add some details to the readme
mrdudz
2020-07-22 15:31:39 +02:00
844f5a9d33
hook up test/todo in the toplevel test makefile
mrdudz
2020-07-22 15:12:29 +02:00
6abf24e25e
move test for issue #1077 to test/val
mrdudz
2020-07-22 15:12:02 +02:00
e22e9c403c
added testcase for issue #1098
mrdudz
2020-07-22 14:57:40 +02:00
44c82eb1c3
Made da65 disassemble branch instructions with relative address expression operands if there's no label.
Greg King
2020-07-21 18:25:26 -04:00
b2d7998241
update makefile to use $(NOT) as discussed with Oliver
mrdudz
2020-07-21 19:15:41 +02:00
07e18774f7
Added spaces around '|' with regex replacement.
acqn
2020-07-21 22:41:31 +08:00
c66d0881b9
Made the enum/enumerator types clearer and improved DumpSymEntry() output.
acqn
2020-07-21 15:16:47 +08:00
18bd76bb90
Minor fixes and improvements.
acqn
2020-07-21 13:09:41 +08:00
65081aebed
Made able to recognize global declarations of static arrays. Fixed Issue #975.
acqn
2020-07-20 22:34:57 +08:00
0250c87ac6
Fixed SC_* type masks by making them all bitwise-exclusive.
acqn
2020-07-20 22:34:57 +08:00
e4fc7a0fec
reworked pptest3 into an exectutable test and moved to test/val
mrdudz
2020-07-21 15:30:35 +02:00
010ed6d729
reworked pptest1/4/5 into executable tests and moved to test/val
mrdudz
2020-07-21 14:58:15 +02:00
638e254668
rework pptest2 into a runable test and move to test/misc (since it does not compile with cc65)
mrdudz
2020-07-21 14:48:49 +02:00
b60b303c5d
Added a missing asterisk to a "hardware" struct definition.
Greg King
2020-07-20 21:40:44 -04:00
517df130cc
Made a regression test increment a variable after, instead of before, using it.
Greg King
2020-07-20 17:16:11 -04:00
5a9d76ad52
added test for issue #1108
mrdudz
2020-07-20 15:50:11 +02:00
78342fa82c
Fix for "auto" variables made "static" with the "-Cl" options.
acqn
2020-07-20 20:40:41 +08:00
71c2d27705
Removed an ED_IsBitField() test according to PR review.
acqn
2020-07-20 07:36:14 +08:00
2245783345
Fixed ability to do actual type conversion from bit-fields to integers. Note this doesn't try to fix the signedness issues.
acqn
2020-07-19 21:26:55 +08:00
b67b8ddd38
Disabled applying 'sizeof' to bit-fields.
acqn
2020-07-19 21:23:20 +08:00
62a6e37487
Made the code handling '&expression' slightly tidier.
acqn
2020-07-19 21:23:08 +08:00
3c52ad1d9e
New utility ED_DisBitField() to make an expression no longer a bit-field.
acqn
2020-07-19 21:23:08 +08:00
fd0a6955da
Changed "IsTypeStruct() || IsTypeUnion()" expressions into shorter "IsClassStruct()" expressions.
Greg King
2020-07-19 14:30:22 -04:00
ee208aecd6
Removed unnecessary tool.
Oliver Schmidt
2020-07-19 13:16:12 +02:00
29c50ab25f
Corrected the error message about struct/union members not found.
acqn
2020-07-19 17:56:15 +08:00
bbcb39978c
Add test of signed bitfields for #1095
Jesse Rosenstock
2020-07-18 23:12:07 +02:00
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.
acqn
2020-07-19 13:47:48 +08:00
0c3e1b491f
Disabled -Wstruct-param by default.
acqn
2020-07-18 23:30:09 +08:00
b45d373fd6
Fixed passing by value structs/unions <= 4 bytes in size to functions. Larger ones are forbidden for now.
acqn
2020-07-18 23:30:09 +08:00
9f67b45ea0
Fixed returning by value structs/unions <= 4 bytes in size from functions. Larger ones are forbidden for now.
acqn
2020-07-18 23:30:09 +08:00
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.
acqn
2020-07-18 23:30:09 +08:00