I propose that these groups can be mapped to separate/additional types of SmPL metavariables so that amount of data that need to be forwarded can be eventually reduced. I would also prefer that the file name is passed only once instead of with every access to the position variable.
Another subtle point is that the file name cannot be passed only once, because different values of the position variable can be associated with different file names. It is possible to match against tokens found in an include file, and any position variable associated with such tokens are associated with the include file, not the original one. Also, when transformation has been done, the position of a token in the transformed function is no longer its position in the original C file, but its position in a temporary file containing the transformed code.
julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
