From: eachus@mitre-bedford.arpa (Robert I. Eachus)
Subject: Re: Help with Meridian compiler, please
Date: 5 Feb 93 15:38:40 GMT [thread overview]
Message-ID: <EACHUS.93Feb5103840@dr_no.mitre.org> (raw)
In article <1993Feb4.144224.7460@goya.uu.es> aalvarez@dit.upm.es (Angel Alvarez
) writes:
> a: NATURAL range 0..1:=0;
Ooooh Ouch! Tricky syntax analyzer test! To make it harder use
A: Natural range 0..2:=0;
The reason Meridan trips up (and yes it is a compiler bug) is
probably that 2:1101: is a legal numeric literal (with a decimal value
of 13). I suspect that the compiler starts reading with the syntax of
an integer literal and when that fails backs up incorrectly, reading
the value 1 correctly but losing the colon.
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
--
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
next reply other threads:[~1993-02-05 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-02-05 15:38 Robert I. Eachus [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-02-06 23:24 Help with Meridian compiler, please darwin.sura.net!sgiblab!news.cs.indiana.edu!arizona.edu!east.pima.edu!rha
1993-02-05 17:04 cis.ohio-state.edu!news.sei.cmu.edu!firth
1993-02-04 14:42 Angel Alvarez
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox