gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ISO FORWARD is now implemented


From: Gaius Mulley
Subject: Re: ISO FORWARD is now implemented
Date: Sat, 07 Dec 2024 11:51:02 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

john o goyo <jog37@riddermarkfarm.ca> writes:

> Greetings, Gaius.
>
> On 2024-12-06 10:26, Gaius Mulley wrote (in part):
>> On 2024-10-19 09:11, Gaius Mulley wrote (in part):
>>>> Hi,
>>>>
>>>> I've git pushed a patchset which implements the ISO FORWARD keyword to
>>>> the development branch of GCC.  The patch also improves parameter and
>>>> return type checking.  Parameter mismatch errors should now result in
>>>> virtual token being highlighted (or multiple tokens for example the
>>>> parameter declaration).
>> Hi John,
>>
>> just to mention that these improvements have been back ported to gcc-14,
>
> Thank you, Gaius.  Is FORWARD also available in the PIM dialect?

Hi John,

I'm about to git push a patch to restrict FORWARD to ISO:

$ gm2 forward.mod
forward.mod:4:31: error: In procedure ‘foo’: forward declaration is only 
allowed in the ISO dialect of Modula-2
    4 | PROCEDURE foo (a: CARDINAL) ; FORWARD ;
      |                               ^~~~~~~

$ gm2 -fiso forward.mod
$

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]