History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ANTLR-208
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Terence Parr
Reporter: Terence Parr
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ANTLR v3

include -o dir in path for .tokens files

Created: 07/Jan/08 11:09 AM   Updated: 03/May/08 10:57 AM
Component/s: ANTLR Core
Affects Version/s: 3.0.1
Fix Version/s: 3.1


 Description  « Hide
We have two parsers, v3.g and v3w.g, where the v3w.g uses the tokens file generated by the v3.g. To avoid generating files in the src directory, I used the -o option to a separate directory. This worked for the first grammar, but the second complained that ./v3.tokens cannot be found. Shouldn't tokenVocab include the output directory in its search path, like javac does?

Tom Ball from sun.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 03/May/08 10:57 AM
Looks in library or in -o output path. antlr -o foo T.g U.g where U needs T.tokens won't work unless we look in foo too. fixed.