strtok.gv 299 B

123456789101112131415161718
  1. /*
  2. because dot uses strtok() to parse strings
  3. it does not detect unusual strings or empty
  4. strings like:
  5. style=",,,,,,";
  6. when expected something like:
  7. style="invis,dotted";
  8. It is easy to fix to have a warning on such strings
  9. Here is a test:
  10. */
  11. digraph "strtok"
  12. {
  13. style=",,,,,,,,,,,,,,,,";
  14. "a";
  15. }