dcsimg

How do I propagate/copy a type tree to multiple declarators of a variable declaration?

Terence Parr

The Java grammar does this. For example, you want to propogate the INT tree node down to the rule that matches declarators like a and b in the following:

int a,b;