Commit Graph

  • 773ed23cea Merge pull request #2326 from acqn/Diagnostics Bob Andrews 2024-01-08 22:45:44 +01:00
  • 2127778239 Merge pull request #2336 from colinleroy/optimize-strdup Bob Andrews 2024-01-08 22:13:43 +01:00
  • e1065d0c89 Merge pull request #2342 from colinleroy/rework-mktime Bob Andrews 2024-01-08 22:13:05 +01:00
  • 1e3b063b4a Merge pull request #2320 from pm100/cl65_type Bob Andrews 2024-01-08 21:59:21 +01:00
  • a71865f6ec Merge pull request #2331 from acqn/FuncDeclFix Bob Andrews 2024-01-08 21:58:01 +01:00
  • fa7dca5fa3 Merge pull request #2338 from colinleroy/fix-2237-keep-time-h-standard Bob Andrews 2024-01-08 21:52:40 +01:00
  • df193c0947 Rework time functions a bit Colin Leroy-Mira 2024-01-07 22:58:45 +01:00
  • 3a439e0e1b Little strdup optimisation Colin Leroy-Mira 2024-01-05 19:39:03 +01:00
  • 7ce982cc68 Remove non-standard (and useless) include Colin Leroy-Mira 2024-01-07 10:19:48 +01:00
  • 29801a2fde remove extra format specifier, fixed #2330 mrdudz 2024-01-06 17:53:24 +01:00
  • 82f01af6ec Merge pull request #2333 from polluks/patch-11 Bob Andrews 2024-01-06 17:41:39 +01:00
  • c379d03dfb Merge pull request #2332 from polluks/patch-10 Bob Andrews 2024-01-06 17:40:58 +01:00
  • 169c9c0da0 Add strdup tests Colin Leroy-Mira 2024-01-05 19:38:51 +01:00
  • 1b5371b42d Merge pull request #2335 from jedeoric/master Bob Andrews 2024-01-05 11:07:16 +01:00
  • bcea5dfa8f fix comment telestrat jedeoric 2024-01-05 00:46:15 +01:00
  • 726b70a534 add XMAINARGS and XGETARGV for Telestrat jedeoric 2024-01-05 00:45:03 +01:00
  • dc9d2f0dbd Update README.md Stefan 2024-01-03 16:46:07 +01:00
  • 075ece5faf Clean-up Stefan 2024-01-03 16:35:12 +01:00
  • 75461e1319 Apple2: implement stat(2) and statvfs(3) Colin Leroy-Mira 2023-12-28 21:50:13 +01:00
  • 7aab84628d Fixed calling convention parsing in type names and function parameter types. acqn 2024-01-01 16:11:30 +08:00
  • acbd87b576 Renamed GetUnqualTypeCode() to GetUnderlyingTypeCode() for consistency with GetUnderlyingType(). acqn 2024-01-01 15:27:57 +08:00
  • 88246f852d Removed RefineFuncDesc() as an unnecessary wrapper. acqn 2024-01-01 15:04:50 +08:00
  • 4e820677ee ED_AddrExpr() and ED_IndExpr() need no return values. acqn 2024-01-01 15:03:45 +08:00
  • 0b7d9d8216 Fixed missing calling convention and address size qualifiers in diagnosis on function types. acqn 2024-01-01 14:48:05 +08:00
  • f734f43a35 Removed extra 'const' qualifier in array-to-pointer and function-to-pointer conversions. acqn 2024-01-01 14:48:05 +08:00
  • f3199e4308 Fixed type name output with K&R-style functions. acqn 2024-01-01 14:48:03 +08:00
  • 4343eebe67 Merge pull request #2314 from acqn/PPFix Bob Andrews 2023-12-31 19:16:44 +01:00
  • 9e3d1e1027 Merge pull request #2309 from acqn/Diagnostics Bob Andrews 2023-12-31 19:15:48 +01:00
  • c262929a62 doc cl65 change paul moore 2023-12-31 10:14:53 -08:00
  • 0ece9449d7 Merge pull request #2307 from acqn/FuncDeclFix Bob Andrews 2023-12-31 19:11:25 +01:00
  • 7297d2c8b6 Merge pull request #2310 from pm100/vs64 Bob Andrews 2023-12-31 18:54:23 +01:00
  • d0903ba225 Merge pull request #2311 from bbbradsmith/ca65-struct-doc-clarify Bob Andrews 2023-12-31 18:51:09 +01:00
  • 98b9814692 Merge pull request #2318 from alexthissen/lynxincludes Bob Andrews 2023-12-31 18:46:49 +01:00
  • 096bd0b633 bug 2319 paul moore 2023-12-29 17:02:45 -08:00
  • 66e354961c Missed some tabs Alex Thissen 2023-12-29 22:48:36 +01:00
  • 061d907a11 Fixed tabs instead of spaces Alex Thissen 2023-12-29 22:46:15 +01:00
  • e5f9def572 Added SPRCTL0 and SPRCTL1 bit definitions for ca65 Alex Thissen 2023-12-29 22:37:18 +01:00
  • b876a6b213 Fixed cc65 exitcode when there are only preprocessor errors. acqn 2023-12-19 19:30:50 +08:00
  • cd7c688dff Separated C preprocessor errors from other errors. acqn 2023-12-18 15:30:53 +08:00
  • 9892c8f6c4 using less generic names for the example to avoid confusion, adding cautionary example for what I think is the most error prone case bbbradsmith 2023-12-17 05:40:00 -05:00
  • 302c4f7409 clarify offsets of anonymous nested scope, missing quotes for names bbbradsmith 2023-12-17 05:01:06 -05:00
  • 0ff1b20f2a nested struct example needs a .tag bbbradsmith 2023-12-16 19:52:57 -05:00
  • f6838be162 missing <tt> bbbradsmith 2023-12-16 19:32:52 -05:00
  • 6cb8717c24 fix dangling space, mention .union in test comment bbbradsmith 2023-12-16 19:25:21 -05:00
  • 0d74b84ce4 Test of .struct and .union features. Update documentation with more examples, better clarity, and fixes to incorrect data. bbbradsmith 2023-12-16 19:18:25 -05:00
  • 103d4b82c5 more msbuild syntax fixes paul moore 2023-12-14 14:43:58 -08:00
  • 269786a5ae fix msbuild syntax paul moore 2023-12-14 14:38:24 -08:00
  • 08341aae30 second try at fixing win64 build paul moore 2023-12-14 14:25:35 -08:00
  • 1093d169ad Fix BSS obliteration by mliparam during exec(). Colin Leroy-Mira 2023-12-12 18:03:00 +01:00
  • a5746227dc Added warning on static functions that are used but not defined. acqn 2023-12-14 21:27:48 +08:00
  • 1e4d1b4311 Fixed function declarator parser when a parameter has a function type. Ensured check on parameter lists without types in non-definition declarations. acqn 2023-12-14 02:34:03 +08:00
  • 05aae60816 Merge pull request #2305 from acqn/FuncDeclFix Bob Andrews 2023-12-13 19:17:59 +01:00
  • f8fe1d1560 Fixed missing diagnosis on function parameter lists with trailing commas. acqn 2023-12-13 22:57:32 +08:00
  • bc97bce8c1 Merge pull request #2297 from acqn/WrappedCall Bob Andrews 2023-12-12 17:11:47 +01:00
  • e90e7f46de Merge pull request #2298 from acqn/Diagnostics Bob Andrews 2023-12-12 17:06:54 +01:00
  • befc9533c6 More accurate diagnostic messages on empty declarations without any type specifiers. acqn 2023-12-10 20:21:50 +08:00
  • b66682a05b Fixed wrapped call when the function to wrap has already got defined before it is wrapped with the pragma. acqn 2023-12-10 00:47:10 +08:00
  • b1c1502494 MS compiler insists on those typecasts apparently mrdudz 2023-12-11 00:35:07 +01:00
  • 9985ee7f61 fix %hhn and %hn in the internal xvsnprintf function mrdudz 2023-12-11 00:18:40 +01:00
  • 6b855d562a use -std=gnu17 for the references, so the test bench will not break with GCC 14. see #2277 mrdudz 2023-12-10 23:18:55 +01:00
  • 0b077f561f exclude test directory from some style checks - it makes no sense to enforce these things in the test bench, we need to be able to test all kinds of spaces and tabs :) mrdudz 2023-12-10 22:43:47 +01:00
  • cc5e9c38ca Merge pull request #2296 from acqn/Diagnostics Bob Andrews 2023-12-10 22:32:33 +01:00
  • b31a1c7c0c test for regression that occured after #2262 mrdudz 2023-12-10 22:16:30 +01:00
  • 9634cc4d1e Merge pull request #2295 from colinleroy/fix-2262-too-eager-opt Bob Andrews 2023-12-10 19:16:38 +01:00
  • bbd542fac7 Fixed missing diagnosis on extra identifiers in type names. acqn 2023-12-10 17:01:54 +08:00
  • 07c71541f4 Fix #2262: Make sure there's no branching after the sequence Colin Leroy-Mira 2023-12-10 09:30:41 +01:00
  • 3215d377ea More accurate diagnostic messages on wrong missing declaration specifiers. acqn 2023-12-10 15:46:48 +08:00
  • cadf8012f6 Improved error recovery with type cast and sizeof. acqn 2023-12-10 15:43:24 +08:00
  • a1a060c291 Declaration specifier flags cleanup. acqn 2023-12-10 15:43:24 +08:00
  • 79b4690077 Fixed missing diagnostics on empty enum/struct/union declareations without tag names. Improved error recovery with local declarations and _Static_assert. acqn 2023-12-10 15:43:24 +08:00
  • a16a6298e2 Merge pull request #2287 from acqn/Diagnostics Bob Andrews 2023-12-09 22:16:47 +01:00
  • 92f869cdfb Merge pull request #2288 from acqn/TypeFix Bob Andrews 2023-12-09 22:15:24 +01:00
  • a956f6f9ed Merge pull request #2289 from acqn/FuncDeclFix Bob Andrews 2023-12-09 22:14:41 +01:00
  • 9e19a2e6a3 Merge pull request #2290 from acqn/TestFix Bob Andrews 2023-12-09 22:12:59 +01:00
  • d805211002 Merge pull request #2291 from colinleroy/fix-256-minus-1 Bob Andrews 2023-12-09 22:11:33 +01:00
  • 2a2cc6cad6 Fix bug introduced in #2260 Colin Leroy-Mira 2023-12-09 16:43:23 +01:00
  • d8e61552be Removed outdated testcases no longer in the directory from test/misc/Makefile. acqn 2023-12-09 18:04:29 +08:00
  • d8a722b638 Improved diagnostics on multiple definition of struct/union types. acqn 2023-12-09 17:34:01 +08:00
  • 87f8893886 Avoided "Variable 'XXX' is defined but never used" error message resulted from an earlier error. acqn 2023-12-09 17:33:46 +08:00
  • 98ffc031d1 Fixed an iteration bug in type composition. acqn 2023-12-09 14:35:00 +08:00
  • b7e7bb7489 Fixed the issue that qualifiers of pointees of function parameters were ignored for type compatibility check. acqn 2023-12-09 14:34:37 +08:00
  • 519a52d92c Merge pull request #2209 from vrubleg/linecont Bob Andrews 2023-12-08 02:10:45 +01:00
  • 66bfc31988 Merge pull request #2262 from colinleroy/optimize-long-assign Bob Andrews 2023-12-08 01:58:01 +01:00
  • 09735b26c5 Merge pull request #2274 from acqn/UnionFix Bob Andrews 2023-12-08 01:55:06 +01:00
  • c4575ec2c4 Merge pull request #2275 from acqn/BitfieldFix Bob Andrews 2023-12-08 01:54:02 +01:00
  • 85a15007ec Merge pull request #2276 from acqn/Diagnostics Bob Andrews 2023-12-08 01:53:08 +01:00
  • ac6d43adc9 fix option name paul moore 2023-12-03 15:27:49 -08:00
  • c43557d4ed complete first version paul moore 2023-12-03 13:58:04 -08:00
  • b527549dd2 fix spaces at end of line paul moore 2023-12-03 13:19:42 -08:00
  • 617eb0e065 Added repeat support. Added short vs long expansion paul moore 2023-12-03 11:59:05 -08:00
  • 116f678180 fixed incorrect offsets , cleaned out redundant code paul moore 2023-12-02 11:04:25 -08:00
  • d21616ea71 initial commit paul moore 2023-12-02 09:16:49 -08:00
  • ca2cf4bf54 forgot to free retport line, remove old code paul moore 2023-12-01 16:34:47 -08:00
  • b7af5ac438 fix gcc warning paul moore 2023-12-01 16:17:42 -08:00
  • 39744f1bde initial commit paul moore 2023-12-01 15:40:33 -08:00
  • 63861766e1 Fix Makefile change Colin Leroy-Mira 2023-12-01 14:22:30 +01:00
  • d8a3938f2b Optimize a bit static long assignation Colin Leroy-Mira 2023-11-13 20:24:14 +01:00
  • 47e7ed2f56 Fixed wrong "Mixed declarations and code are not supported in cc65" error message when it should be "Expression expected". acqn 2023-11-30 00:36:13 +08:00
  • c0a2021d9a Fixed endlessly repeated disgnostics when there are some certain patterns of syntax errors in a struct/union declaration. acqn 2023-11-30 00:35:30 +08:00
  • 6434176909 Fixed constness of bit-fields. acqn 2023-11-29 12:27:01 +08:00