antlr4-cpp icon indicating copy to clipboard operation
antlr4-cpp copied to clipboard

Question, possible feature request

Open gh-markt opened this issue 5 years ago • 0 comments

For data members of rule contexts, is there any particular reason that specifying some rule context class name as the type for a parameter for that some other rule tries to accept the argument only by value instead of by address? Would changing this so that if a type name used for a parameter refers to a rule context name in the grammar, then that parameter is actually just a pointer and not the concrete value cause more issues?

gh-markt avatar Jun 08 '20 23:06 gh-markt