Hi,
I have a production that looks like this:
subtree : descendant_list network_info { stack.pushSubtree(true); }
| network_info { stack.pushSubtree(false); };
but when I examine the generate java code the boolean literals seem to be
missing. Any thoughts on why?
case 1 :
// C:\\Users\\Matt\\Desktop\\ExtendedNewick.g:22:11:
descendant_list network_info
{
pushFollow(FOLLOW_descendant_list_in_subtree74);
descendant_list();
state._fsp--;
pushFollow(FOLLOW_network_info_in_subtree76);
network_info();
state._fsp--;
* stack.pushSubtree(); *
}
break;
case 2 :
// C:\\Users\\Matt\\Desktop\\ExtendedNewick.g:23:11:
network_info
{
pushFollow(FOLLOW_network_info_in_subtree90);
network_info();
state._fsp--;
* stack.pushSubtree(); *
}
break;
}
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.