parse: include rule head location when requested
Prior to this commit, when the AST information were serialized to JSON, rules expressed as discussed in #5790 included only the location of their value and not the one of the rule ref var itself. Now the AST serialized to JSON includes this information. Fixes: #5790 Signed-off-by: Gianluca Oldani <oldanigianluca@gmail.com>
G
Gianluca Oldani committed
1e3859159755cafee6ae36da88c218c744ca57a6
Parent: 845652e
Committed by Ashutosh Narkar <anarkar4387@gmail.com>
on 4/18/2023, 11:55:55 PM