comp.lang.ada
 help / color / mirror / Atom feed
From: Rex Reges <73653.1634@CompuServe.COM>
Subject: Form feed comment for pragma Page
Date: 1996/06/04
Date: 1996-06-04T00:00:00+00:00	[thread overview]
Message-ID: <4p04vi$3ui$1@mhafn.production.compuserve.com> (raw)


One unusually nonportable bit of Ada code occurs when you place 
a form feed character in a comment after a pragma Page:

   pragma page ;  -- ^L (form feed for pagination during
                  --     straight printing of the source code file)

Compilers issue informationals about either:

   1) Comments after pragma Page do not have to be printed in 
      the source code.

   2) The form feed character isn't in the allowed set of
      characters for Ada source code.

It appears that problem number 1 should go away in 
Ada 95 because all pragmas must be printed out in
the source listing.  However, this may cause an extra
form feed.

-- 
or you can call me The Fixer...
or you can e-mail me at RegesR@pgate.he.boeing.com




             reply	other threads:[~1996-06-04  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-04  0:00 Rex Reges [this message]
1996-06-03  0:00 ` Form feed comment for pragma Page Robert Dewar
1996-06-06  0:00   ` Rex Reges
1996-06-05  0:00     ` Robert Dewar
1996-06-12  0:00       ` Rex Reges
1996-06-12  0:00         ` Rex Reges
1996-06-12  0:00           ` Robert Dewar
1996-06-13  0:00           ` Ken Garlington
1996-06-03  0:00 ` Robert Dewar
1996-06-04  0:00   ` Arthur Evans Jr
1996-06-04  0:00     ` Robert Dewar
1996-06-06  0:00       ` Text_IO and Ada source (was: Form feed comment for pragma Page) Arthur Evans Jr
1996-06-06  0:00         ` Robert Dewar
1996-06-11  0:00           ` Norman H. Cohen
1996-06-12  0:00             ` Robert Dewar
1996-06-18  0:00           ` Norman H. Cohen
1996-06-20  0:00             ` Robert Dewar
1996-06-05  0:00     ` Form feed comment for pragma Page Keith Thompson
1996-06-04  0:00   ` Robert A Duff
1996-06-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