Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: multiple ex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 80 of 149
Post > Topic >>

Re: multiple exceptions in one EXCEPTION declaration

by "Rodney M. Bates" <rbates@[EMAIL PROTECTED] > Jan 20, 2004 at 03:57 PM

The syntax summary in SPwM3 gives:

Decl = ...
      | EXCEPTION {ExceptionDecl ";"}
      ...

and similarly for all other kinds of declarations other than
PROCEDURE, and for revelations.

In the main language definition (from which the html version
is clearly derived,) Section 2.4 of SPwM3, the description of
the different kinds of declarations, does not note that
multiple declarations of the same kind can follow a single
occurence of the keyword, not that I could find.  I presume this
was a casualty of the 50-page limit.  Perhaps it would be good
to modify the definition.

Henning Thielemann wrote:
> What I understand in the language re****t
>   http://www.elegosoft.com/cm3/doc/reference/exceptions.html
> is that EXCEPTION allows for one declaration at once only.
> But cm3 allows also for multiple declarations and
> this is also used in the libm3 (Rd):
>   EXCEPTION EndOfFile; Failure(AtomList.T);
 




 2 Posts in Topic:
multiple exceptions in one EXCEPTION declaration
googlegroups@[EMAIL PROTE  2004-01-16 02:01:23 
Re: multiple exceptions in one EXCEPTION declaration
"Rodney M. Bates&quo  2004-01-20 15:57:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:55:32 CDT 2008.