> Are there any chances that the tool "spatch" can also display such an 
> explanation as an improved error message?

That's an error returned by the parser and is thus limited by the error 
reporting facilities of Ocaml's Menhir library. That's rather unlikely to be 
improved easily.

(what you would ideally want in this case is a list of symbols/contexts that 
the parser expects in addition to the unexpected symbol it encountered, but 
that's not something offered by the Menhir library and neither by Ocamlyacc)

Adriaan_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to