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

Key: ANTLR-6
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
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

can't see v defined in lexer subrule

Created: 06/Nov/06 06:05 PM   Updated: 21/Apr/07 05:16 PM
Component/s: ANTLR Core
Affects Version/s: 3.0
Fix Version/s: 3.0b8


 Description  « Hide
COMMAND
: '@'cmd=ID WS (v=ID)?
{
String tag = (String)keywords.get($cmd.text);
if ( tag!=null && $v!=null ) {
out.print("<"+tag+">"+$v.text+"</"+tag+">");
}
else {
out.print("@"+$cmd.text+" "+$v.text); // pass what we don't understand
}
}
;

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 21/Apr/07 05:16 PM
token refs are now defined at rule level.