weggli
weggli copied to clipboard
function argument parse error
I now have a scenario where the func call is test (IN arg1, IN arg2, OUT &arg3), then i want to match the 3rd arg, but when i was build source to tree , it have some error in argument node.
call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier)
so i don't know how to match the (ERROR (identifier)) (identifier) , or how could i fixed it then it can identify this parameter.
I can ensure that this parameter is in the correct format for a certain scenario
When I try this syntax, it matches OUT, but it's not what I want.
I expect to match arg3.
weggli '_ $fn(_,_,$id){
_;
}'