qbug.gv 469 B

1234567891011121314151617181920
  1. /* syntax error at line 2 because it should be color="blue" */
  2. digraph conflict1edges {
  3. /* dot supports splitting numbers in strings as in Z=9.8 below */
  4. 1 -> 2 [Z=0.9 Z="9.9" Z="9"+".8"];
  5. 6 -> 5 [K=1.2];
  6. 2 -> 20 [color=blue"]; // here should be a parse error
  7. 0 -> 1 [color=green"];
  8. }
  9. /*
  10. the parser sees this as:
  11. 2 -> 20 [color=blue
  12. "];
  13. 0 -> 1 [color=green"
  14. ];
  15. which is
  16. 2 -> 20 [color=blue "..." ];
  17. dot parser of version 7.2 did not find this syntax error
  18. */