25832ef5fcFixed timing of #pragma charmap. Now it is immediately applied and affects almost all characters and string literals after it. Exceptions: - String literals as the message of a static assertion or inline assembler code (only the required one, not any optional formatted arguments) in an asm() expression are not translated with either #pragma charmap or target presets. - String literals used for preprocessor directives or as the result of stringized macro arguments are never translated.
acqn
2023-10-13 16:32:06 +08:00
c6ead99b00Fixed string literal concatenation with pragmas in between.
acqn
2023-10-13 16:32:05 +08:00
20c3e994c6Fixed compiling with pragmas in the middle of declarations or statements.
acqn
2023-10-04 21:22:04 +08:00
6222cd9115don't use a label in the bgt macro, as that may cause subtle problems. fixes#2222
mrdudz
2023-10-14 23:04:12 +02:00
2726192aafMerge pull request #2224 from acqn/DeclCleanUp
Bob Andrews
2023-10-14 20:09:05 +02:00
bb92144717changed "inline assembler statement" to "inline assembler expression" as suggested in #2191
mrdudz
2023-10-14 16:21:08 +02:00
e138403727Move cli in common out path
Colin Leroy-Mira
2023-10-12 08:56:50 +02:00
6e0bbb00eeFix logic error on parameters checks
Colin Leroy-Mira
2023-10-12 08:53:05 +02:00
c7db08b4e3Move hardware check to ser_install
Colin Leroy-Mira
2023-10-12 08:39:35 +02:00
e90a8f3123Address code review comments
Colin Leroy-Mira
2023-10-11 12:54:12 +02:00
39d6080945Do the IIgs check as documented
Colin Leroy-Mira
2023-10-11 08:47:45 +02:00
e3759a3eadSpare cycles on IRQ path
Colin Leroy-Mira
2023-10-10 21:33:17 +02:00
65ce3a6792Don't check firmware at $C200, as we don't use it
Colin Leroy-Mira
2023-10-10 21:17:44 +02:00
9e87e558d2Fix register r/w timing
Colin Leroy-Mira
2023-10-09 22:03:08 +02:00
b300b7ac8bMerge pull request #1799 from acqn/#1489
Bob Andrews
2023-10-14 13:25:14 +02:00
ed2f1f6b90Merge pull request #2223 from acqn/VSLineEndingFix
Bob Andrews
2023-10-14 13:19:57 +02:00
74922afa7cMade the intension of functions in src/cc65/declare.c less confusing.
acqn
2023-10-12 17:31:49 +08:00
b14efbb578Fixed EOL settings (LF vs CRLF) for Visual Studio.
acqn
2023-10-11 23:57:45 +08:00
2324bd62f6If __A__,__AX__ or __EAX__ is used, post-inc/dec within the same statement will not modify it. Moved testcase from src/test/todo to src/test/val plus minor improvement on portability.
acqn
2021-06-08 14:16:14 +08:00
494bf10e80Merge pull request #2216 from acqn/FuncDefFix
Bob Andrews
2023-10-08 18:58:29 +02:00
181a8cd64cMerge pull request #2212 from BrianPeek/removeabc
Bob Andrews
2023-10-08 14:51:26 +02:00
ee6118f235Merge pull request #2215 from acqn/VariadicCallCheck
Bob Andrews
2023-10-08 13:13:08 +02:00
32a20cf5caremove abc ptrs
Brian Peek
2023-10-06 19:51:36 -07:00
0028b14071The type category in a function definition cannot be inherited from a typedef.
acqn
2023-10-05 17:48:16 +08:00
51e304f10fAdded check for total arguments size for variadic functions.
acqn
2023-09-18 16:44:04 +08:00
12193790e5Merge pull request #2199 from acqn/FAMFix
Bob Andrews
2023-10-05 03:21:31 +02:00
327281b869Merge pull request #2200 from acqn/CompoundInitFix
Bob Andrews
2023-10-05 03:20:33 +02:00
bdb13350e3Merge pull request #2201 from acqn/Diagnostics
Bob Andrews
2023-10-05 03:19:31 +02:00
eb5e888499Merge pull request #2204 from vrubleg/general_fixes
Bob Andrews
2023-10-05 03:17:51 +02:00
9667a5f991Re-introduce necessary comments, wit a clearer wording
Colin Leroy-Mira
2023-10-03 17:48:54 +02:00
3c17c13357Address latest comments
Colin Leroy-Mira
2023-10-03 17:56:20 +02:00
996a2659d5Address code review comments
Colin Leroy-Mira
2023-10-03 13:34:02 +02:00
e16a5e0dbeAdd Apple IIgs serial driver
Colin Leroy-Mira
2023-09-07 21:30:01 +02:00
330b1ab3f9Remove useless comments
Colin Leroy-Mira
2023-10-03 13:36:04 +02:00
df4902157aCleanup coding style a bit
Colin Leroy-Mira
2023-09-30 11:09:27 +02:00
4ff917816eApple2: Always copy cmdline
Colin Leroy-Mira
2023-09-26 22:27:17 +02:00
148942ff1dDon't use hardcoded Visual Studio installation path in msbuild.cmd.
Evgeny Vrublevsky
2023-09-23 14:25:22 +03:00
d83354a8ddFix default VS project settings.
Evgeny Vrublevsky
2023-09-23 14:16:21 +03:00
4944c92f9aMerge pull request #2202 from polluks/patch-8
Bob Andrews
2023-09-22 23:10:34 +02:00
b81e5d00f2Update funcref cx16
Stefan
2023-09-22 16:43:03 +02:00
e3bc143f27Another two bytes saved
Colin Leroy-Mira
2023-09-13 08:18:31 +02:00
13e1ed3e7bFixed compound initialization with omitted enclosing curly braces when an array/struct/union to initialize is nested.
acqn
2023-09-22 10:29:52 +08:00
fc603129daA structure with a flexible array member shall not be a member of a structure or an element of an array according to the ISO C Standard.
acqn
2023-09-18 15:44:58 +08:00
3af77e7333Improved error recovery in declarations with curly braces.
acqn
2022-11-12 12:28:29 +08:00
eb595b1f5fImproved error recovery with K&R-style function declarations.
acqn
2022-11-12 12:28:27 +08:00
894ba49cb5Improved error messages about missing type specifiers.
acqn
2022-11-12 12:28:24 +08:00
b0ef3572eaImproved error messages about missing identifiers.
acqn
2022-11-12 12:28:22 +08:00
dd833125a8Merge pull request #2198 from acqn/DeclFix
Bob Andrews
2023-09-21 00:35:35 +02:00
c82e877451Merge pull request #2188 from colinleroy/serial-kernel-fix-driver-lifecycle
Bob Andrews
2023-09-21 00:34:09 +02:00
6bc68b9763Merge pull request #2195 from polluks/kim
Bob Andrews
2023-09-21 00:19:22 +02:00
40b0315be9Merge pull request #2196 from ToboterXP/add_fx
Bob Andrews
2023-09-21 00:18:00 +02:00
e52e350498Merge pull request #2180 from polluks2/patch-9
Bob Andrews
2023-09-05 19:51:41 +02:00
84a01816fdMerge pull request #2181 from bbbradsmith/init-revert
Bob Andrews
2023-09-05 19:42:57 +02:00
d4c4786ff0undo change of INIT to bss for configurations that were also using rw to reserve space, add a comment documenting the reason
bbbradsmith
2023-09-05 00:24:18 -04:00