Browse code

Support xdot format 1.7

All it adds is the OVERLINE bit for t. We don't currently support t at
all, so we can claim support for 1.7 just much as 1.6.

Stefano Rivera authored on 23/10/2014 21:54:04 • José Fonseca committed on 24/10/2014 12:49:46
Showing 1 changed files

  • xdot.py index 3153d2f..4cd2035 100755
... ...
@@ -510,6 +510,7 @@ UNDERLINE = 4
510 510
 SUPERSCRIPT = 8
511 511
 SUBSCRIPT = 16
512 512
 STRIKE_THROUGH = 32
513
+OVERLINE = 64
513 514
 
514 515
 
515 516
 class XDotAttrParser:
... ...
@@ -1146,7 +1147,7 @@ class DotParser(Parser):
1146 1147
 
1147 1148
 class XDotParser(DotParser):
1148 1149
 
1149
-    XDOTVERSION = '1.6'
1150
+    XDOTVERSION = '1.7'
1150 1151
 
1151 1152
     def __init__(self, xdotcode):
1152 1153
         lexer = DotLexer(buf = xdotcode)