Commit Graph

  • 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
  • b8211a2921 Update Contributing.md Bob Andrews 2022-08-17 21:42:42 +02:00
  • 623f047397 Merge pull request #1509 from mrdudz/rremd Bob Andrews 2022-08-11 01:11:16 +02:00
  • 38c4449ab1 Merge pull request #1826 from alejandro-colomar/master Bob Andrews 2022-08-11 01:10:16 +02:00
  • c1fd3218df add test related to pr #1799 mrdudz 2022-08-11 00:59:09 +02:00
  • f942c629d7 simple test related to issue #1655 mrdudz 2022-08-11 00:04:36 +02:00
  • ec310fceb8 Merge pull request #1825 from ReallyNiceGuy/master Bob Andrews 2022-08-11 00:03:12 +02:00
  • f14e793197 Make NULL conform to POSIX Alejandro Colomar 2022-08-08 21:48:32 +02:00
  • bdcc5ba549 Merge pull request #1821 from ZeroByteOrg/x16_waitvsync Bob Andrews 2022-08-09 19:02:15 +02:00
  • e30e233064 Merge pull request #1829 from acqn/VoidPtrFix Bob Andrews 2022-08-09 14:29:56 +02:00
  • 78e80eb942 Fixed superfluous warning on pointer types comparing a non-void pointer to a void pointer. acqn 2022-08-09 13:13:33 +08:00
  • 0c8366c1e9 Merge pull request #1828 from ZeroByteOrg/x16_ym Bob Andrews 2022-08-09 00:50:08 +02:00
  • 5608453aea Fixed YM2151 struct to match HW behavior ZeroByteOrg 2022-08-08 16:16:37 -05:00
  • 582e43931d import RDTIM symbol instead of hard-wiring it here ZeroByteOrg 2022-08-08 15:21:30 -05:00
  • 9b3b652fa5 Switched to using tmp1 instead of self-mod to store the jiffies value ZeroByteOrg 2022-08-08 15:17:28 -05:00
  • 71a9ed04a2 Revert: Parse file included inside a macro at definition time Marco Aurelio da Costa 2022-08-07 11:24:47 -03:00
  • a3a5fbe809 Disallowed 'defined' as a macro name. acqn 2022-08-07 13:56:47 +08:00
  • ae811baaf1 Fixed the bug that redefined macros could co-exist but not all be undefined with a single #undef. acqn 2022-08-06 18:21:42 +08:00
  • b93f9fbba4 Updated documents about the predefined macros. acqn 2022-08-18 22:51:23 +08:00
  • 47d5e74a6e Modified way to keep undefined macro handling more consistent. acqn 2022-08-18 22:51:23 +08:00
  • 7971eec3cc Fixed parentheses handling when a function-like macro name itself is used as an macro argument. acqn 2022-08-07 12:45:48 +08:00
  • 0a051a4dee Unsupported #pragma within argument lists of function-like macro invocation. acqn 2022-08-06 16:56:28 +08:00
  • 78870219a4 CX16 waitvsync uses Kernal API to retreive jiffies ZeroByteOrg 2022-08-05 17:44:18 -05:00
  • 251e984ba8 Fixed error recovery with preprocessing directives failures. acqn 2022-08-05 14:03:51 +08:00
  • 4de40a20cb Merge pull request #1820 from polluks2/patch-5 Bob Andrews 2022-08-04 00:43:10 +02:00
  • 7a93d3c707 Shorter isascii polluks2 2022-08-04 00:25:04 +02:00
  • f8d08b1e1a More post-C99 predefined macros. acqn 2022-07-26 21:40:19 +08:00
  • 2f357ba9b2 Preprocessor directives can now appear in the argument list of function-like macro calls. #pragma PP-tokens can now be macro replaced. #include header names directly enclosed in <> are free of macro replacement. Preprocess-only mode (-E) now outputs with #line as source info. Moved testcases for #760 and #1357. Added testcase for #1643. acqn 2022-07-26 21:10:38 +08:00
  • 80fc8cd11e Added preprocessor warning on missing terminating characters of character/string literals. acqn 2022-07-26 21:10:36 +08:00
  • 2c9c8ee196 Fixed extra "Macro argument count mismatch" message when a macro argument list is unterminated. acqn 2022-07-26 21:10:31 +08:00
  • 60c1290468 Fixed the bug that preprocessor could run past the end of included files. Fixed the wrong filename and 0 line number in disgnostics when a preprocessor error occurred at the end of a file. Fixed diagnostics for missing #endif. acqn 2022-07-26 21:10:26 +08:00
  • 416040dfb6 add prototype for static driver mrdudz 2022-07-24 23:43:53 +02:00
  • 7381a2c420 Added check for extra tokens at the end of directives. Improved diagnostics on missing/illegal macro names. acqn 2022-07-24 19:07:16 +08:00
  • fb8de287be test related to pr #1800 mrdudz 2022-07-28 01:50:54 +02:00
  • 2c742ffc1c Merge pull request #1800 from acqn/PPFix Bob Andrews 2022-07-28 01:48:41 +02:00
  • 15756cc730 Update Contributing.md Bob Andrews 2022-07-28 00:29:05 +02:00
  • 9ab8026dbb Merge pull request #1813 from IrgendwerA8/CharmapFixDocUpdate Bob Andrews 2022-07-27 17:58:57 +02:00
  • b3015ef731 Updated documentation while char-mapping is fixed. IrgendwerA8 2022-07-27 13:54:00 +02:00
  • 5164b88a27 test was moved to test/val mrdudz 2022-07-26 17:21:33 +02:00
  • a41b76795a Merge pull request #1807 from acqn/CharmapFix Bob Andrews 2022-07-26 17:19:58 +02:00
  • 9f767770ac Added test case for #pragma charmap. acqn 2022-07-26 15:19:48 +08:00
  • 8289c94e69 Fixed skipped lines consist of a leading # followed by any non-directive PP-token sequence. acqn 2022-07-26 14:28:27 +08:00
  • f99cb177c6 added example/test for cbm_read, related to issue #1306 mrdudz 2022-07-25 21:01:31 +02:00
  • d03f28d0ed dangling! mrdudz 2022-07-24 23:52:53 +02:00
  • 3c71455bd6 test related to issue #1373, should be move to val in pr #1807 mrdudz 2022-07-24 23:49:45 +02:00
  • 073443d865 Merge pull request #1809 from cc65/revert-1805-something_to_pull Bob Andrews 2022-07-24 18:22:37 +02:00
  • 6239fbe18c Revert "rename '_poserror' to '__poserror'" Bob Andrews 2022-07-24 18:14:21 +02:00
  • c642c07ea0 Merge pull request #1808 from acqn/LibFix Bob Andrews 2022-07-24 17:59:57 +02:00
  • 8485d59aa6 Removed an extra colon from libsrc/dbg/dbg/c. acqn 2022-07-24 20:58:10 +08:00
  • be26b0631b Fixed #ifdef and #ifndef. acqn 2022-07-24 19:07:02 +08:00
  • 066a5e0fec Fixed #pragma charmap for string literals. acqn 2022-07-24 16:38:41 +08:00
  • fa9ec1fb71 Merge pull request #1805 from groessler/something_to_pull Bob Andrews 2022-07-24 02:48:51 +02:00
  • 8e19d84cb4 detect number of RAM pages mrdudz 2022-07-24 02:47:02 +02:00
  • 8db0def88b add a target for testcode.d81, which contains all drivers too mrdudz 2022-07-24 02:43:18 +02:00
  • 1bc05a7aa0 add rrr driver to list mrdudz 2022-07-24 02:42:49 +02:00
  • 758d9466c0 rename '_poserror' to '__poserror' Christian Groessler 2022-07-24 00:33:56 +02:00
  • bc44bd583c Merge remote-tracking branch 'upstream/master' into rremd mrdudz 2022-07-23 20:03:28 +02:00
  • d85ca8aedd Merge pull request #1771 from spiro-trikaliotis/testsuite Bob Andrews 2022-07-21 18:12:41 +02:00
  • 46849a2919 Merge pull request #1798 from acqn/MiscFix Bob Andrews 2022-07-21 18:10:48 +02:00
  • ac4cb258be Removed a mysterious "Hey!" message. acqn 2022-07-21 11:59:38 +08:00
  • 16a8a64746 Use a dedicated expression parser for the preprocessor. acqn 2022-07-21 11:10:02 +08:00
  • f91c8ad247 Allowed comments right after "#" in preporcessor directives. acqn 2022-07-21 11:09:59 +08:00
  • d3d6de2704 Allowed the pp-tokens following #error and #warning directives to be optional. acqn 2022-07-21 11:09:56 +08:00
  • 3cb3d5dad3 cleanup mrdudz 2022-07-21 03:45:40 +02:00
  • 86091ac6bf some cleanup mrdudz 2022-07-21 03:43:54 +02:00
  • a55807f682 cleanup mrdudz 2022-07-21 03:30:47 +02:00
  • a5225b46fe Merge remote-tracking branch 'upstream/master' into rremd mrdudz 2022-07-21 03:27:41 +02:00
  • c680c9fa05 Update lynx.h Bob Andrews 2022-07-20 23:54:57 +02:00
  • 35a4a03c51 lynx: fix TGI_COLOR_DARKBROWN Kevin Pulo 2022-06-16 15:06:02 +10:00
  • 358084806a Fixed term #1553 polluks2 2022-06-03 12:36:04 +02:00
  • ad051efa0b Fixed typo polluks2 2022-05-30 17:10:33 +02:00
  • 4dcf18eca7 Fixed ICE with duplicate macro parameters. acqn 2022-07-05 22:22:49 +08:00
  • a4ad212316 Now the compiler removes code that has no observable effect. acqn 2021-02-22 13:47:32 +08:00
  • 4cb5063e9c Now the compiler tracks code that has no observable effect. acqn 2021-02-21 16:36:29 +08:00
  • fcbb4a5246 NoCodeConstExpr() fix to avoid exessive error messages. acqn 2021-05-16 19:08:43 +08:00
  • 51d7c0f1eb More detailed diagnostic info about conflicted function types. acqn 2021-03-30 16:47:57 +08:00
  • 80a468f8bd E_ADDRESS_OF logic fix. acqn 2021-05-16 19:08:42 +08:00
  • 9e82de4607 Better future-proof bit-masking. acqn 2021-05-16 19:08:42 +08:00