On Wed, 21 Dec 2011, SF Markus Elfring wrote:
Fatal error: exception Failure("minus: parse error:
= File "../my_pattern2.cocci", line 37, column 16, charpos = 420
around = '(', whole content = y@p = (t) (a)->(x)(...)
")
To the right of -> there should be an identifier, not an expression.
So there cannot be parentheses.
Thanks for your quick answer.
Are there any chances that the tool "spatch" can also display such an
explanation as an improved error message?
No. Yacc-based parsers don't give that opportunity.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)