comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: extended membership tests (branch)
Date: Thu, 31 Mar 2011 13:58:12 -0400
Date: 2011-03-31T13:58:12-04:00	[thread overview]
Message-ID: <wccd3l78957.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 4d94aba4$0$7656$9b4e6d93@newsspool1.arcor-online.net

Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:

> I can't answer, but started wondering how this will
> have to be interpreted:
>
>     for b in b1 in b1 .. b1 loop
>         null;
>     end loop;

That's a syntax error:

gnatmake -gnat2012 -gnatl eg.adb 
gcc -c -gnat2012 -gnatl eg.adb

GNAT Pro 6.5.0w (20110326)
Copyright 1992-2011, Free Software Foundation, Inc.


Compiling: eg.adb (source file time stamp: 2011-03-31 17:55:10)

     1. procedure Eg is
     2. begin
     3.    for B in B1 in B1 .. B1 loop
                      |
        >>> missing "loop"

     4.       null;
     5.    end loop;
     6. end Eg;

 6 lines: 1 error
gnatmake: "eg.adb" compilation error

- Bob



  reply	other threads:[~2011-03-31 17:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31  7:04 extended membership tests Dan
2011-03-31  7:34 ` AdaMagica
2011-03-31  7:55   ` Dan
2011-03-31  7:58     ` Dan
2011-03-31  8:05 ` Ludovic Brenta
2011-03-31  9:28 ` AdaMagica
2011-03-31 14:33 ` Robert A Duff
2011-03-31 16:28   ` extended membership tests (branch) Georg Bauhaus
2011-03-31 17:58     ` Robert A Duff [this message]
2011-03-31 18:54     ` Adam Beneschan
2011-03-31 21:08       ` Georg Bauhaus
2011-03-31 21:10       ` Randy Brukardt
2011-04-01  5:14   ` extended membership tests AdaMagica
2011-04-01  6:33     ` Dan
2011-04-01  7:03       ` AdaMagica
2011-04-01  9:56         ` stefan-lucks
2011-04-01 15:11         ` Adam Beneschan
2011-04-02  1:22         ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox