Commit Graph

  • 4540205b0d Emit warning for signed integer constant overflow bbbradsmith 2022-10-13 23:49:07 -04:00
  • 4ed31cec69 Merge pull request #1870 from clbr/postproc-compilefix Bob Andrews 2022-10-12 21:44:46 +02:00
  • f1612218a3 Merge pull request #1874 from clbr/sprintf-clarify Bob Andrews 2022-10-12 17:54:30 +02:00
  • 1e6279aee5 Clarify sprintf-test's output so it doesn't look like the entire test bench summary Lauri Kasanen 2022-10-12 18:38:33 +03:00
  • d52ef67d51 Fix compilation after the postproc merge Lauri Kasanen 2022-10-12 10:28:14 +03:00
  • 71d64a3c1c Merge pull request #1857 from acqn/PPFix Bob Andrews 2022-10-09 19:00:07 +02:00
  • a169e67e43 Merge pull request #1863 from acqn/LinkageFix Bob Andrews 2022-10-09 18:59:12 +02:00
  • 911ff40f6b Merge pull request #1862 from acqn/Testcase Bob Andrews 2022-09-30 16:50:02 +02:00
  • 9eab36b95a Fixed block-scope extern declarations visibility. Fixed missing file-scope static function codegen output in a rare care. acqn 2022-09-30 14:32:08 +08:00
  • f6003b8e8c Renamed some testcases. acqn 2022-09-30 09:41:54 +08:00
  • 9900e7361d #pragma message now uses the new "note" level message routine. acqn 2022-09-30 09:09:09 +08:00
  • 715aa919e6 C++ style comments in C89 mode will cause errors only once per input file. acqn 2022-09-29 19:47:31 +08:00
  • 29c9cb3e00 Improved diagnostics on conflicting type declarations. acqn 2022-09-29 19:38:32 +08:00
  • 96df4e8b5e Added a diagnostic level "note" for infomative messages. acqn 2022-09-29 19:38:32 +08:00
  • 702ec52161 Merge pull request #1861 from acqn/TestcaseFix Bob Andrews 2022-09-29 17:53:14 +02:00
  • 1cbd6bc3f9 Fixed comments in test/val/bug1462-biefield-assign-4.c. acqn 2022-09-29 18:23:41 +08:00
  • 376afd0edb Fixed trailing spaces in some testcases. acqn 2022-09-29 18:23:32 +08:00
  • 846d51db72 change line endings to unix style, should fix #1858 mrdudz 2022-09-22 20:29:57 +02:00
  • 61f48f7620 Merge branch 'kim1' of github.com:davepl/cc65 Rutger van Bergen 2022-09-19 23:58:26 +02:00
  • 3b431d9fa3 Remove trailing whitespace Rutger van Bergen 2022-09-19 23:57:26 +02:00
  • c43b3582db Merge pull request #1 from davepl/kim1 David W Plummer 2022-09-19 14:20:29 -07:00
  • ab6840712b Update kim1.sgml David W Plummer 2022-09-19 14:17:41 -07:00
  • 3dd8968876 Merge branch 'master' of github.com:davepl/cc65 into kim1 Rutger van Bergen 2022-09-19 21:59:57 +02:00
  • fa6a5d9b72 Merge branch 'cc65:master' into master Rutger van Bergen 2022-09-19 20:31:36 +02:00
  • 2b07204952 Merge branch 'cc65:master' into kim1 Rutger van Bergen 2022-09-19 20:03:23 +02:00
  • d2a8e907ae Merge pull request #2 from davepl/kim1-doc Rutger van Bergen 2022-09-19 19:59:19 +02:00
  • cb8cb876ec Add documentation, make capitalization uniform Rutger van Bergen 2022-09-19 19:56:57 +02:00
  • 65ce036b2e Merge pull request #1854 from acqn/Testcase Bob Andrews 2022-09-19 13:19:09 +02:00
  • 6cb6c241aa Merge branch 'cc65:master' into master Rutger van Bergen 2022-09-19 03:20:49 +02:00
  • 5e7d9b5fe3 Renamed a few testcases. acqn 2022-09-18 22:29:41 +08:00
  • 080ec131d8 Added testcase for constant operands with side-effects. acqn 2022-09-18 22:29:30 +08:00
  • 16ba232d08 Fixed some testcases. acqn 2022-09-18 22:29:01 +08:00
  • b4ddd01d78 Fixed checks on __VA_ARGS__. acqn 2022-09-01 12:58:52 +08:00
  • 950606d46a Improved diagnostics on wrong number of arguments in function-like macro calls. acqn 2022-09-01 12:59:00 +08:00
  • 92f94e4e5b A space character will be inserted in front of a leading '#' pp-token as the result of macro expansion. acqn 2022-09-01 12:58:52 +08:00
  • 770e529b20 Fixed newline counting inside old C style comments. acqn 2022-09-01 12:58:52 +08:00
  • 3d1e322519 Fixed keeping spacing in certain rare cases. acqn 2022-09-01 12:58:52 +08:00
  • 942ee47d05 Changed supposed usage of the original line input stack. It is now used for reusing input lines. acqn 2022-09-01 12:58:52 +08:00
  • 133507b031 Fixed line info for #pragma messages and diagnostics. acqn 2022-09-29 17:55:09 +08:00
  • 5bda57de87 add extra underscore to _bzero, add a test for bzero/memset mrdudz 2022-08-29 23:20:48 +02:00
  • 3b03a96375 add underscores to _poserror and _stroserror mrdudz 2022-08-29 21:06:48 +02:00
  • 89c08dc6d4 extra underscores for _randomize and _swap mrdudz 2022-08-29 20:52:35 +02:00
  • 145adf61ea define old names also for heap stuff mrdudz 2022-08-29 20:10:21 +02:00
  • b09024aa32 add extra underscore to heap stuff mrdudz 2022-08-29 19:55:48 +02:00
  • df4b6f9d14 remove extra spaces mrdudz 2022-08-28 22:37:33 +02:00
  • 54aff47513 fix some errno related stuff, "make all" works again mrdudz 2022-08-28 22:09:44 +02:00
  • 2dabb65ee0 fix errno related underscores in all libsrc/*.s files mrdudz 2022-08-28 21:52:53 +02:00
  • 5d390489a8 fix underscores in errno (and related) headers mrdudz 2022-08-28 21:36:22 +02:00
  • 6ba3deffa4 use __clocks_per_sec instead of _clocks_per_sec mrdudz 2022-08-28 20:22:25 +02:00
  • f70020a2b8 use __sig_ign and __sig_dft instead of _sig_ign and _sig_dft mrdudz 2022-08-28 20:18:34 +02:00
  • 9246775ebe use __afailed instead of _afailed mrdudz 2022-08-28 20:08:13 +02:00
  • 8e5f6b822d fix setjmp.h mrdudz 2022-08-28 20:05:11 +02:00
  • 9f8bfb859c Fixed handling adjacent macro expansions that should not concatenate. Example: F()G /* expansion results of F() shall not be concatenated with G */ acqn 2022-08-22 14:34:50 +08:00
  • c7ff416ce9 Fixed wide strings for preprocessor. acqn 2022-08-22 14:34:50 +08:00
  • be95cb8f58 Fixed stringized macro argument concatenation. Example: #define s(a) L## #a. acqn 2022-08-22 14:34:50 +08:00
  • 6260414136 The '#' operator in macro replacement is now checked at macro definition instead of macro expansion. acqn 2022-08-22 14:34:50 +08:00
  • 2f6b5621cc Changed handling on nested macro replacement to match up with the behavior of other major C compilers, which is unspecified by the C standard. acqn 2022-08-22 14:34:50 +08:00
  • 95e5471cd6 Better preprocess macro expansion. acqn 2022-08-22 14:34:50 +08:00
  • 6fc2cd9f61 add test related to bug #1853 mrdudz 2022-09-17 14:42:18 +02:00
  • fd6d00a4dd revert 6096a24 - this breaks the case when the "label" is an expression containing spaces. fixes bug #1853 mrdudz 2022-09-17 14:41:59 +02:00
  • 5493c9e7c2 Don't empty the Receive Data Register on filling the Transmit Data Register Oliver Schmidt 2022-09-08 17:11:30 +02:00
  • 253af1ed07 Force 16bit address for absolute-indirect-x-indexed in 65816 mode. should fix issue #1846 (and hopefully not break anything :)) mrdudz 2022-09-03 18:36:40 +02:00
  • 1d01777943 Merge pull request #1849 from acqn/StructFix Bob Andrews 2022-09-02 17:27:34 +02:00
  • fe0d383bea Merge pull request #1850 from polluks2/patch-6 Bob Andrews 2022-09-02 12:08:40 +02:00
  • 446a785f95 Don't hide errors in error handling polluks2 2022-09-02 11:55:54 +02:00
  • dc001cb4be Reverted E_ADDRESS_OF logic fix. Added testcase. acqn 2022-09-01 12:56:46 +08:00
  • ce6ee1b891 test some more possible cases and move test into test/val mrdudz 2022-08-28 03:43:54 +02:00
  • d371046ae4 Despite not technically needed, it seems to be desirable to remove all trailing whitespace from inline assembly mrdudz 2022-08-28 03:43:02 +02:00
  • 6096a24f1d dont add whitespace after a label to the actual label, this fixes the root cause of #1252 mrdudz 2022-08-28 03:41:48 +02:00
  • eb21e484ee Merge pull request #1842 from acqn/PPCounter Bob Andrews 2022-08-27 11:18:29 +02:00
  • 43d2fd2a96 Added support for the popular __COUNTER__ macro. acqn 2022-07-24 23:19:05 +08:00
  • 168f42bb83 fix whitespace mrdudz 2022-08-27 02:14:52 +02:00
  • 41b29d5c81 add testcase related to issue #1252 mrdudz 2022-08-27 02:10:02 +02:00
  • 90b9438b48 added testcase related to issue #1768 mrdudz 2022-08-27 01:15:06 +02:00
  • d2628d5949 Merge pull request #1840 from acqn/FnParamFix Bob Andrews 2022-08-26 23:19:55 +02:00
  • 68610490c9 Merge pull request #1837 from acqn/PPLineFix Bob Andrews 2022-08-26 23:12:59 +02:00
  • 13fbd7d1b4 Merge pull request #1836 from acqn/PPDiag Bob Andrews 2022-08-26 23:08:29 +02:00
  • 1dbc5cb325 Simple testcase for __LINE__, __FILE__ as well as #line. acqn 2022-08-24 16:39:44 +08:00
  • 26945c32ac Fixed function parameters declared as function types rather than function pointers. acqn 2022-08-24 15:30:52 +08:00
  • 22ea30c75f "cat" result to console on failure (only on *nix right now) Bob Andrews 2022-08-23 11:56:05 +02:00
  • 57ad7c8766 Improved diagnostics about C++ style comments for c89. acqn 2022-08-22 14:31:53 +08:00
  • fd7f32ecd3 Improved error handling and diagnostics with failed macro definitions. acqn 2022-08-22 14:31:51 +08:00
  • bb9c98f4c9 Added support for the #line directive. acqn 2022-07-24 23:19:05 +08:00
  • 0063f73f8a Fixed __FILE__ and __LINE__ macros for preprocessor. acqn 2022-07-24 23:19:05 +08:00
  • 8605393953 Merge pull request #1834 from acqn/PPFix Bob Andrews 2022-08-21 19:18:46 +02:00
  • 9565f41381 Improved Diagnostic with #include. acqn 2022-08-19 13:27:56 +08:00
  • 5d5bd472c6 Removed extra whitespace at line ends in preprocess-only output (-E). Increased threshold from 5 to 7 for skipped newlines with #line directives in preprocess-only output (-E). acqn 2022-08-22 00:27:21 +08:00
  • 79f97e7714 Reused code more for macros in preprocessing directives. acqn 2022-08-22 00:24:28 +08:00
  • 36123c9c8f Improved naming for stuff related to preprocessing directives. acqn 2022-07-24 23:19:05 +08:00
  • f838ba7341 Merge pull request #1833 from acqn/TokenizerFix Bob Andrews 2022-08-21 17:45:38 +02:00
  • 47ee543fe0 Added testcase for some part of PR #1833. acqn 2022-08-21 00:11:19 +08:00
  • 624e5025b0 Fixed parsing wide char constants. acqn 2022-08-17 22:28:00 +08:00
  • 5cca1e8b1d Fixed parsing numeric constants. acqn 2022-08-11 10:55:16 +08:00
  • 4bb4f033ea Fixed the bug that C keywords were not simply recognized as identifiers in preprocessing. acqn 2022-08-07 16:14:45 +08:00
  • 7a139a800e Added # and ## as punctuators recognized by the tokenizer. Reorganized the token enum. acqn 2022-08-06 18:45:49 +08:00
  • 12b9b10355 Merge pull request #1832 from acqn/PPDefineFix Bob Andrews 2022-08-20 14:27:25 +02:00
  • 03421694b2 Merge pull request #1817 from acqn/PPFix Bob Andrews 2022-08-19 21:37:16 +02:00
  • 98491d7c92 Merge pull request #1831 from acqn/DeclFix Bob Andrews 2022-08-19 20:58:28 +02:00
  • 3fbefdef45 Fixed warning on forward declaration of enums. Fixed the issue that global static variables put on zeropage were missing optimization. acqn 2022-08-19 18:48:52 +08:00
  • cf7558add3 Added check for ## at either end of macro expansion. acqn 2022-08-18 23:16:29 +08:00