PR# 17603 Pretty printer accepts syntactically incorrect external specifications

Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2011/06/01
Class: Bug
Severity: Non-critical
Number: 17603
Release: 6.8.86542
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; SunOS sun4u; rv:2.0) Gecko/20100101 Firefox/4.0 Solaris 10 on SPARC
Synopsis: Pretty printer accepts syntactically incorrect external specifications

Description
The pretty printer accepts invalid external specifications for which the 
compiler reports a syntax error, such as

   external "C inline"
   external "X"

Maybe it isn't the pretty printer's responsibility to check for incorrect
syntax inside the manifest string for an external.  If you think the
current behavior is correct, you may close this report.

See also bug #17582, where the pretty printer accepts invalid attribute
declarations for which the compiler reports a syntax error.


To Reproduce
Run ec -pretty with attached class.
Problem Report Interactions
From:prestoat2000    Date:2011/06/01    Download   
Attachments for problem report #17603

Attachment: test.e     Size:199