SmaCCRefactoring / SmaCC

Smalltalk Compiler Compiler : a parser generator
Other
32 stars 15 forks source link

#otherVariables in AST nodes prevent pattern matching #17

Open ThierryGoubier opened 7 years ago

ThierryGoubier commented 7 years ago

If you have a ast node for which an instance variable is listed inside AnASTNode>>#otherVariables, then this variable can't be used for pattern matching.

At least a warning must be emitted for each.