Project

General

Profile

Bug #1512

Package with unexpected EOF

Added by John Abbott over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
enhancing/improving
Target version:
Start date:
16 Oct 2020
Due date:
% Done:

100%

Estimated time:
0.51 h
Spent time:

Description

A package which ends prematurely produces an error, but the message could be better:

package $abc:
<EOF>
--> ERROR: Package members can be Alias, Define and simple assignments

Should we improve this? Perhaps complain that EndPackage is missing; or just that EOF was encountered unexpectedly?
Or do nothing?

History

#1 Updated by John Abbott over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to John Abbott
  • % Done changed from 0 to 70

I think I have fixed it: it now produces this error report:

--> ERROR: End-of-input while looking for EndPackage

--> ERROR: Unexpected End-Of-Input while reading "/home/jabbott/ShortTerm/JUNK.cocoa5" 

Anyway, more helpful than before.

#2 Updated by John Abbott over 3 years ago

  • Status changed from Resolved to Feedback
  • % Done changed from 70 to 90

I have checked the code in. No test (do we need one?)

#3 Updated by John Abbott over 3 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
  • Estimated time set to 0.51 h

Also available in: Atom PDF