comp.lang.ada
 help / color / mirror / Atom feed
* Form feed comment for pragma Page
@ 1996-06-04  0:00 Rex Reges
  1996-06-03  0:00 ` Robert Dewar
  1996-06-03  0:00 ` Robert Dewar
  0 siblings, 2 replies; 20+ messages in thread
From: Rex Reges @ 1996-06-04  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~1996-06-20  0:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-04  0:00 Form feed comment for pragma Page Rex Reges
1996-06-03  0:00 ` 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   ` Robert A Duff
1996-06-04  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

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