1 // This file illustrates the various items that can be used at the beginning
2 // of a semantic patch, or at the beginning of a rule
4 // The following illustrates how to include a file of isomorphisms located
5 // in the default path, as indicated by config. Uncommenting the following
6 // will give and error, because standard.iso is already loaded by default
7 // and it is not allowed to load two isomorphisms with the same name
8 // using <standard.iso>
9 using "headers.iso" // an iso file in the current directory
19 extends rule0 // inherit the metavariables from rule0
20 depends on rule0 && !rule0 // now this rule will never be applied ...
21 using "headers2.iso" // more iso files can be included, separated by commas
22 disable three, drop_cast // isos should apply to f and x, but not m
39 extends rule0 // inherit the metavariables from rule0
40 depends on rule0 && !rule0 // now this rule will never be applied ...
41 using "headers2.iso" // more iso files can be included, separated by commas