[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] gm2 segfault (checked with GPM and XDS)
From: |
John O Goyo |
Subject: |
[Gm2] gm2 segfault (checked with GPM and XDS) |
Date: |
Fri, 12 Oct 2007 13:41:36 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
Gaius Mulley wrote:
Dmitry Shatrov <address@hidden> writes:
[...]
MODULE test;
VAR A : CARDINAL;
CONST B = A;
END test.
[...]
I have a program for JPI Modula-2 in the front of me, and it looks like
in JPI such assignment is OK. Is it a deviation from PIM and/or ISO?
Regards,
Dmitry
[...]
I tried compiling Dmitry's example with the GPM and XDS compilers (both
ISO).
Here is GPM's response:
=================================================
5 CONST B = A;
**** ..........^ SemanticError # 208
**** 208 Identifier is not a constant ****
=================================================
Here is XDS's response:
=================================================
XDS Modula-2 v2.40 [x86, v1.50] - build 10.05.2005
Compiling "test.mod"
* [test.mod 5.11 E087]
* expression should be constant
CONST B = $A;
errors 1, no warnings, lines 7, time 0.05
=================================================
I suspect that we are seeing a JPI extension.
(I have the JPI manuals at home and will check over
the weekend.)
Sincerely,
john
- [Gm2] gm2 segfault, Dmitry Shatrov, 2007/10/07
- [Gm2] gm2 segfault, Dmitry Shatrov, 2007/10/09
- Re: [Gm2] gm2 segfault, Gaius Mulley, 2007/10/09
- Re: [Gm2] gm2 segfault, Dmitry Shatrov, 2007/10/09
- Re: [Gm2] gm2 segfault, Gaius Mulley, 2007/10/12
- [Gm2] gm2 segfault (checked with GPM and XDS),
John O Goyo <=
- [Gm2] gm2 segfault (checked with ULM), John O Goyo, 2007/10/12
- Re: [Gm2] gm2 segfault (checked with GPM and XDS), Andreas Fischlin, 2007/10/12
- Re: [Gm2] gm2 segfault (checked with GPM and XDS), Gaius Mulley, 2007/10/12