comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: IDENTIFIERS in Upper Case
Date: 1997/03/28
Date: 1997-03-28T00:00:00+00:00	[thread overview]
Message-ID: <dewar.859561259@merv> (raw)
In-Reply-To: 5hfd5b$4ro$1@news.pacifier.com


iBy the way Steve, here is what GNAT gives for your little example:

     1. PROCEDURE Doiel IS
     2. BEGIN
     3.   IF a < b THEN
     4.     DoProc1( arg )
                          |
        >>> missing ";"

     5.   ELBE
          |
        >>> incorrect spelling of keyword "ELSE"

     6.     DoProc2( arg )
                          |
        >>> missing ";"

     7.   END IF;
     8. END;


(Hmm! I guess your great capitalization style did not let you notice
the missing semicolons :-) I wonder if that is because the upper case
keywords distracted you? :-)

Note that GNAT does not discriminate, its error circuits work better 9if
you use a consistent style -- any of the style commonly used, including
Steve's are fine, but it learns your style from the program, and uses
this style for both error messages and error recovery (notice the
upper case ELSE in the error message).





  reply	other threads:[~1997-03-28  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-26  0:00 IDENTIFIERS in Upper Case Charles H. Sampson
1997-03-26  0:00 ` Matthew Heaney
1997-03-27  0:00 ` Michael F Brenner
1997-03-27  0:00 ` Jeff Burns
1997-03-27  0:00   ` Matthew Heaney
1997-03-28  0:00     ` Robert Dewar
1997-03-28  0:00     ` Jerry Petrey
1997-03-28  0:00       ` Robert A Duff
1997-03-28  0:00         ` Robert Dewar
1997-03-28  0:00     ` Robert A Duff
1997-03-28  0:00       ` Tom Moran
1997-03-28  0:00       ` William Clodius
1997-03-29  0:00         ` Robert A Duff
1997-04-09  0:00   ` Graham C. Hughes
1997-03-27  0:00 ` Bob Collins
1997-03-28  0:00   ` Steve Doiel
1997-03-28  0:00     ` Robert Dewar [this message]
1997-03-29  0:00       ` Doug Smith
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Robert A Duff
1997-03-30  0:00         ` Robert Dewar
1997-04-01  0:00           ` Charles Lindsey
1997-04-03  0:00             ` John English
1997-04-04  0:00               ` Robert Dewar
1997-04-04  0:00               ` Robert Dewar
replies disabled

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