Commit Graph

  • 56b659c0be Made char type a distinct type. acqn 2020-08-15 06:27:11 +08:00
  • 87889df9e9 Fixed type checking in relation operations. acqn 2020-08-15 06:27:11 +08:00
  • 2663561c62 added test related to pr #1135 mrdudz 2020-08-18 00:41:35 +02:00
  • 6d8860b9de added test related to issue #1145 mrdudz 2020-08-18 00:41:07 +02:00
  • cf41fccc0a added test related to issue #1143 mrdudz 2020-08-18 00:40:29 +02:00
  • f206833a20 Alternative fix for Issue #1167. acqn 2020-08-15 09:10:17 +08:00
  • 0afa1a9a95 Fixed function signatures in asm output. Improved full type name production. acqn 2020-08-15 01:50:04 +08:00
  • ebae994dc9 Fixed CHECK failure when calling functions defined with repeated parameter names. Clarified the terms "parameter" vs "argument" in FunctionParamList(). acqn 2020-08-15 22:59:26 +08:00
  • 531de44c95 Merge pull request #1193 from jmr/bitfield-union-bug Bob Andrews 2020-08-17 14:33:51 +02:00
  • 6db93d58cf Add test of union of bit-field from mailing list Jesse Rosenstock 2020-08-17 09:22:15 +02:00
  • 15f28c3a8c Fixed getting the basic raw type names. acqn 2020-08-13 08:24:40 +08:00
  • 11cd3e5cbd Utility for checking general datatype categories, incomplete ESU types and arrays of unknown sizes. acqn 2020-08-12 21:50:34 +08:00
  • 7e61b11f23 Add _Static_assert docs to cc65 extensions Jesse Rosenstock 2020-08-15 21:22:31 +02:00
  • 1cf9404c19 Support C2X _Static_assert(expr) syntax Jesse Rosenstock 2020-08-15 21:05:51 +02:00
  • c4698dfd07 Use C89 semantics for integer conversions Jesse Rosenstock 2020-08-14 14:54:10 +02:00
  • 8197e3c7cd make it actually compile again :) mrdudz 2020-08-14 21:07:39 +02:00
  • f0e4053a0d added test related to issue #1178 mrdudz 2020-08-14 19:58:58 +02:00
  • 1d28e8e3de Improved test case for Issue #191. acqn 2020-08-13 00:00:32 +08:00
  • b19bb14348 Fixed checking conflitcing declarations with external vs other linkage. acqn 2020-08-12 21:35:50 +08:00
  • 13ed557b92 Fixed compatibility checking of function declarations by using the composite types of them. acqn 2020-08-12 21:35:47 +08:00
  • 44d52935da Utility for getting the composite types of functions. acqn 2020-08-12 21:35:44 +08:00
  • 8a417ff039 Improved ESU declaration failure handling. acqn 2020-08-12 21:33:46 +08:00
  • dc83eb15af added test related to issue #1181 mrdudz 2020-08-14 16:12:17 +02:00
  • 83452ae6b3 Merge pull request #1182 from acqn/StructPtrField Bob Andrews 2020-08-14 14:13:39 +02:00
  • 0dfe9ff5fe Fixed testing 'struct->field'. acqn 2020-08-14 08:32:22 +08:00
  • 0fa18886c0 Fixed copying structs/unions > 4 bytes. acqn 2020-08-13 09:27:53 +08:00
  • 03b37cf712 Fixed type comparisons of typedefs and arrays. acqn 2020-08-08 06:46:55 +08:00
  • eb4464e828 Fixed type comparisons of ESU types with stricter rules. acqn 2020-08-03 01:38:54 +08:00
  • 8b8561161c Moved #1098 bug tests from test/misc to test/err as they are fixed now. acqn 2020-08-07 19:35:37 +08:00
  • fe44fe963f Disallowed empty enums. acqn 2020-08-07 17:40:40 +08:00
  • 97065faf1a Disallowed struct/union types of 0 size as cc65 is not ready to support them. acqn 2020-08-05 00:19:28 +08:00
  • 4dfc1a5ded Using a dedicated SC_FICTITIOUS flag in case of parsing errors. acqn 2020-08-10 09:32:47 +08:00
  • bde5be6793 Improved error message on initializing extern variables inside functions. acqn 2020-08-09 06:25:36 +08:00
  • b62b1650f5 Improved error messages on struct/union type multiple definitions. acqn 2020-08-08 20:12:04 +08:00
  • fe3f726fd6 Improved incomplete enum typed diagnostics. acqn 2020-08-08 07:04:29 +08:00
  • 0d53806490 Avoided excess errors in incomplete struct assignment. acqn 2020-08-08 06:46:22 +08:00
  • 9317db6642 Slightly improved type error messages of 'op='. acqn 2020-08-08 06:46:22 +08:00
  • 9fcfa3fc49 Fixed full type names of functions with "empty" parameter list. acqn 2020-08-08 06:46:22 +08:00
  • 68d63b089d Reduced error flood raised by misplaced variable declarations. acqn 2020-08-03 01:34:02 +08:00
  • 0f1a5e0520 Set enum tag definition flags. acqn 2020-08-08 06:45:45 +08:00
  • 1dd899c7c9 Fixed non-file-scope multiple definition checking. acqn 2020-08-08 06:44:36 +08:00
  • d68cd90e47 Function declaration in functions cannot have storage classes other than 'extern'. acqn 2020-08-06 17:22:19 +08:00
  • 43efc256f1 Changed error/warning messages not using the term 'tentative' according to PR reviews. acqn 2020-08-05 00:19:28 +08:00
  • b2d3b8379c Warning about forward declaration of enum types in non-cc65 modes. acqn 2020-08-03 01:38:54 +08:00
  • 8cdffc1944 No storage for unsuccessfully parsed variables. acqn 2020-08-03 01:36:19 +08:00
  • fdef067629 Fixed tentative definition of variables of incomplete types that may be completed later. Tenative arrays that never get completed are now assumed each to have one element. acqn 2020-08-03 01:36:19 +08:00
  • fdd120db49 Enabled to output errors and warnings about tentative definitions. acqn 2020-08-03 01:36:19 +08:00
  • f59d6b8f6a Redefining enums/structs/unions of 0 size is no longer treated as declarations and thus forbidden. acqn 2020-08-03 01:31:52 +08:00
  • cdfc1afd89 Fix vacuous comparison warning from 0df45fe Jesse Rosenstock 2020-08-05 12:57:49 +02:00
  • d8f9201ecd LoadExpr: Optimize <= 8-bit bit-field loads Jesse Rosenstock 2020-08-02 09:35:33 +02:00
  • 0c72647edd Remove extra ED_TestDone call Jesse Rosenstock 2020-08-03 09:07:36 +02:00
  • bae431eab0 Fixed error message of CheckedPSizeOf(). acqn 2020-08-03 08:09:50 +08:00
  • e3d913b81a Fixed the reference output of test/misc/goto.c (test/misc/goto.ref). acqn 2020-08-03 02:23:35 +08:00
  • d6aa446b54 Error info for loading expressions of incomplete enum types. No more "Illegal type 0016". acqn 2020-08-03 01:24:38 +08:00
  • 6df4f1996b Improved diagnostics with more detailed type names. acqn 2020-08-03 01:16:00 +08:00
  • 11a5f0edf1 No "Statement has no effect" warnings on statements with errors. acqn 2020-08-03 01:15:57 +08:00
  • 7e68a24625 Clearer warning messages on unused symbols. acqn 2020-08-03 01:15:57 +08:00
  • e8c2886455 Improved error messages on redefinitions of constants and bit-fields. acqn 2020-08-03 01:15:57 +08:00
  • ef5a4db12e Improved warning messages on UB shifts. acqn 2020-08-03 01:15:57 +08:00
  • 2ab7272673 Improved warning on comparison of unsigned type < 0. acqn 2020-08-03 01:15:57 +08:00
  • 99ac1c46da Made errors/warnings statistic message visible when there are errors. acqn 2020-08-03 01:15:57 +08:00
  • 44e3080ea9 Increased upper limit of allowed errors before aborting. acqn 2020-08-03 01:15:57 +08:00
  • 00c16d34a4 Minor fixes for HandleSymRedefinition(). acqn 2020-08-03 01:15:57 +08:00
  • 80b0e57543 Changed parameter constness of TypeConversion(). acqn 2020-08-02 21:51:32 +08:00
  • 003d47cc8b Improved type conversion diagnostic messages. Allowed incompatible pointer assignments with warnings. Fixed Issue #1089. acqn 2020-08-02 21:51:32 +08:00
  • d841bbe498 Utility to check for castability. acqn 2020-08-02 21:51:32 +08:00
  • 52051f444e Using tracked individual string buffers instead of a shared static string buffer for full type names. acqn 2020-08-02 21:51:32 +08:00
  • 4ccf10f3fa Utility to get full type names. acqn 2020-08-02 21:51:26 +08:00
  • 0df45fe2f2 Utility for getting ESU tag type symbols. acqn 2020-08-02 21:08:50 +08:00
  • c831f40e9b Unfortunately there's no other way than using the absolute path to init the correct MSVC 2017 environment. Oliver Schmidt 2020-08-02 18:44:13 +02:00
  • 35d6a75b37 Fixed Windows path notation. Oliver Schmidt 2020-08-02 17:49:18 +02:00
  • 992596c981 Initialize MSVC 2017 environment before build. Oliver Schmidt 2020-08-02 17:32:36 +02:00
  • ce19d7b84f Made use of Travis CI's Windows support. Oliver Schmidt 2020-08-02 15:50:17 +02:00
  • adda28f5c5 LoadExpr: Set CF_FORCECHAR if test is required Jesse Rosenstock 2020-08-02 09:03:21 +02:00
  • 2a555d198c Changed 'switch' to 'if' according PR review comments. acqn 2020-08-02 13:24:46 +08:00
  • 30fd8592ae Avoid internal errors when using function-type objects in expressions. acqn 2020-08-01 22:06:14 +08:00
  • e526cbbff6 Fixed handling multiple storage specifiers in one declaration. acqn 2020-08-01 22:08:19 +08:00
  • 633cd17a3e Add enum size test case for #1050 Jesse Rosenstock 2020-08-01 22:30:36 +02:00
  • e1043fac12 Adjusted to https://github.com/cc65/cc65/pull/1124. Oliver Schmidt 2020-08-01 10:55:49 +02:00
  • 9c70bd44a6 Clarify comment about large shift Jesse Rosenstock 2020-07-31 16:52:22 +02:00
  • 847982c6bf Handle bit-field test after shift/mask Jesse Rosenstock 2020-07-31 08:41:05 +02:00
  • d0c7108dcf Change copyright notice to "The cc65 Authors" Jesse Rosenstock 2020-07-30 13:27:57 +02:00
  • 3df6c383c0 Add support for static_assert Jesse Rosenstock 2020-07-26 22:16:47 +02:00
  • c72fa735b9 Add test for #1139 Jesse Rosenstock 2020-07-30 17:21:56 +02:00
  • 2d5fd0fc63 Use char ops if possible for bit-field loads Jesse Rosenstock 2020-07-30 12:00:21 +02:00
  • e38f601fcc Fixed padding at the ends of structs with bit-fields. acqn 2020-07-29 15:09:53 +08:00
  • 8a511bb63d Fixed nested array initializers. acqn 2020-07-29 15:09:53 +08:00
  • 9075a853dc Allows one trailing comma before the closing curly of a struct/union initializer. acqn 2020-07-29 15:09:53 +08:00
  • 25d10d9d9a Fixed nested struct/union initialization. Fixed bit-fields offsets in anonymous structs. acqn 2020-07-29 15:09:53 +08:00
  • d6d667a688 Improved error handling with symbol redefinitions. acqn 2020-07-29 18:07:16 +08:00
  • 92de4fa0d0 Enabled to recognize labels when parsing local variable declarations. acqn 2020-07-29 15:08:54 +08:00
  • 19c81ed866 Fixed type mask usage. acqn 2020-07-29 19:51:47 +08:00
  • fb9b50ff9c Move type checks before bit-field width parsing Jesse Rosenstock 2020-07-29 22:45:59 +02:00
  • aaa0cf5448 Add err tests for bitfield width errors Jesse Rosenstock 2020-07-29 22:41:46 +02:00
  • a2561d07f3 Remove special-case bit-field width code Jesse Rosenstock 2020-07-29 14:04:52 +02:00
  • 74dda01919 Add test that plain int bitfields are unsigned Jesse Rosenstock 2020-07-29 13:32:26 +02:00
  • 8eab28012a Adjusted project name. Oliver Schmidt 2020-07-28 23:29:16 +02:00
  • cbb33f86e8 Disabled using non-int-size types to declare bit-fields. acqn 2020-07-28 11:17:17 +08:00
  • c37f9f1a41 Check if the integer size is known in GetIntegerTypeMin/Max() to prevent potential misuse. acqn 2020-07-27 19:20:07 +08:00
  • 0f412b6beb Small fixes according to PR review. acqn 2020-07-27 18:25:28 +08:00