an attempt to improve error correction on unknown type identifiers.

Also, a minor fix to ival.g
This commit is contained in:
ceriel
1987-08-18 10:05:18 +00:00
parent b53309f9f6
commit 1c85c44fad
5 changed files with 28 additions and 6 deletions

View File

@@ -358,7 +358,9 @@ compound_statement:
{
stack_level();
}
[%while (AHEAD != ':') /* >>> conflict on TYPE_IDENTIFIER */
[%while ((DOT != IDENTIFIER && AHEAD != ':') ||
(DOT == IDENTIFIER && AHEAD == IDENTIFIER))
/* >>> conflict on TYPE_IDENTIFIER, IDENTIFIER */
declaration
]*
[%persistent