File: make_strict.g

package info (click to toggle)
xdeb 0.6.6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 252 kB
  • sloc: python: 1,638; sh: 28; makefile: 22
file content (8 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
BEG_G {
       graph_t g = graph ("merge", "S"); } 
       E {
         node_t h = clone(g,$.head);
         node_t t = clone(g,$.tail);
         edge_t e = edge(t,h,"");
         e.weight = e.weight + 1; } 
END_G { $O = g; }