opwvhk commented on a change in pull request #1407:
URL: https://github.com/apache/avro/pull/1407#discussion_r753211236
##########
File path:
lang/java/compiler/src/main/javacc/org/apache/avro/compiler/idl/idl.jj
##########
@@ -1543,9 +1546,8 @@ Schema ResultType():
Schema schema;
}
{
- LOOKAHEAD(2)
"void" { return Schema.create(Type.NULL); }
- | schema = Type() { return schema; }
Review comment:
This is the "magic" bit that ensures the grammer needs no lookahead
anymore.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]