On Tue, 27 Dec 2011, SF Markus Elfring wrote:
Why does Coccinelle's scripting interface pass numbers as text/strings?
I don't know. I didn't design it. Just use int to convert it to a number,
if you
need that. The ocaml version uses numbers.
I would appreciate if the Python scripting interface would also use an
integral data type for them. I guess that it will be more efficient when the
conversion between text and numbers can be avoided.
I'm not super eager to change it for backward compatability reasons. I
don't think efficiency at this point is an issue.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)