bugGrammatica - Bugs: bug #3931, Grammar: Error message when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3931: Grammar: Error message when missing final '%' is misleading

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Tue 10 Jun 2003 09:01:01 AM UTC  
 
Severity:  1 - Minor Item Group:  Future Improvement
Status:  Fixed Assigned to:  Per Cederberg <cederberg>
Open/Closed:  Closed

Tue 10 Jun 2003 04:54:19 PM UTC, comment #2:

Version 1.2 has now been released. Closing this bug.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Tue 10 Jun 2003 09:14:37 AM UTC, comment #1:

A new token has been added to the grammar to detect this and print an 'unterminated directive' error.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Tue 10 Jun 2003 09:01:01 AM UTC, original submission:

The error message printed if the final '%' is not present in the %header%, %tokens% or %productions% tokens is misleading. It would be better to have an error message saying that the terminating % character was missing.

This can be fixed easily by adding a token definition to the grammar. This definition should be marked with the %error ...% marker to print an adequate error message when encountered.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-06-10 cederberg Open/ClosedOpen => (Error - Not Found)
2003-06-10 cederberg StatusNone => (Error - Not Found)

Back to the top


Powered by Savane 3.4