Re: [Sdcc-user] Possible changes to inline assembler syntax

2022-07-15 Thread Sebastien Lorquet
Hi, On 7/15/22 17:10, Maarten Brock wrote: Philipp Klaus Krause schreef op 2022-07-15 16:45: Since people like form 1, I'd now think we should keep it, but drop #pragma sdcc_hash. That looks like a better way forward and also solves the issues. When this pragma is dropped does that mean it

Re: [Sdcc-user] Is anyone using -pedantic-parse-numbersor #pragma pedantic_parse_numbers?

2022-07-15 Thread Tony Pavlov via Sdcc-user
Hello Philipp, Friday, July 15, 2022, 11:22:39 PM, you wrote: PKK> Are these two still in use by anyone? The enable a nonstandard behavior in the preprocessor wrt. parsing of "numbers" (apparently with the option / pragma, the preprocessor ignores what the standard says about "preprocessing-nu

[Sdcc-user] Is anyone using -pedantic-parse-numbersor #pragma pedantic_parse_numbers?

2022-07-15 Thread Philipp Klaus Krause
Are these two still in use by anyone? The enable a nonstandard behavior in the preprocessor wrt. parsing of "numbers" (apparently with the option / pragma, the preprocessor ignores what the standard says about "preprocessing-numbers" and instead tried to handle them more like later stages, whic

Re: [Sdcc-user] Possible changes to inline assembler syntax

2022-07-15 Thread Maarten Brock
Philipp Klaus Krause schreef op 2022-07-15 16:45: Since people like form 1, I'd now think we should keep it, but drop #pragma sdcc_hash. That looks like a better way forward and also solves the issues. When this pragma is dropped does that mean it is no longer possible to use the # for an im

Re: [Sdcc-user] Possible changes to inline assembler syntax

2022-07-15 Thread Philipp Klaus Krause
Since people like form 1, I'd now think we should keep it, but drop #pragma sdcc_hash. That looks like a better way forward and also solves the issues. When this pragma is dropped does that mean it is no longer possible to use the # for an immediate operand? You can still use a plain # (

Re: [Sdcc-user] Possible changes to inline assembler syntax

2022-07-15 Thread Maarten Brock
Philipp Klaus Krause schreef op 2022-07-14 21:34: Am 14.07.22 um 14:46 schrieb Maarten Brock: Hi Philipp, Philipp Klaus Krause schreef op 2022-07-14 12:58: SDCC currently supports two forms of inline assembler: 1: __asm asm code here __endasm; and 2: __asm("asm code here"); Does (or will)