When an ANTLR grammar source depends of a token file (options { tokenValue=? }) then if that token file is an artefact of code generation from another grammar and does not exist, we have to force code generation from the associated grammar for generating the token file.
When the token file is located in antlr.generator.dest.dir, it works. But when it is located in a subdirectory, it does not work.
When an ANTLR grammar source depends of a token file (options { tokenValue=? }) then if that token file is an artefact of code generation from another grammar and does not exist, we have to force code generation from the associated grammar for generating the token file.
When the token file is located in antlr.generator.dest.dir, it works. But when it is located in a subdirectory, it does not work.