bug-marst
[Top][All Lists]
Advanced

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

MARST bug: no integer statement labels


From: Leif Harcke
Subject: MARST bug: no integer statement labels
Date: Sat, 9 Aug 2003 23:21:15 -0700 (PDT)

Hello,

I believe this is a bug.  An unsigned integer should be a valid statement
label according to section 3.5.1 of the "Modified Report."  Test program
and compiler error follows.

yours,

--
Leif Harcke
address@hidden


begin
  switch S := 17, L2, L3;

17:  outstring(1,"Label 1");
L2:  outstring(1,"Label 2");
L3:  outstring(1,"Label 3");
  go to S[1]
end

marst testswitch.a60 

testswitch.a60:4: invalid use unsigned integer `17' as a label
testswitch.a60:8: one error detected on the first pass; translation 
terminated





reply via email to

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