[master] 5ce86e76b Align columns

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Jun 12 04:58:10 UTC 2019


commit 5ce86e76bbf73040ade4cea380f03e2d8ba438bf
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu May 16 16:40:00 2019 +0200

    Align columns

diff --git a/lib/libvarnishapi/generate.py b/lib/libvarnishapi/generate.py
index ea4ebd02a..e411957d6 100755
--- a/lib/libvarnishapi/generate.py
+++ b/lib/libvarnishapi/generate.py
@@ -45,33 +45,33 @@ if len(sys.argv) == 3:
 
 tokens = {
     # Numerical comparisons
-    "T_EQ":     "==",
-    "T_NEQ":    "!=",
-    "T_LEQ":    "<=",
-    "T_GEQ":    ">=",
+    "T_EQ":         "==",
+    "T_NEQ":        "!=",
+    "T_LEQ":        "<=",
+    "T_GEQ":        ">=",
 
     # String comparisons
-    "T_SEQ":    "eq",
+    "T_SEQ":        "eq",
     "T_SNEQ":       "ne",
 
     # Regular expression matching
     "T_NOMATCH":    "!~",
 
     # Boolean operators
-    "T_AND":    "and",
-    "T_OR":     "or",
-    "T_NOT":    "not",
+    "T_AND":        "and",
+    "T_OR":         "or",
+    "T_NOT":        "not",
 
     # Miscellaneous
-    None:       "<>~[]{}():,",
+    None:           "<>~[]{}():,",
 
     # These have handwritten recognizers
-    "VAL":      None,
-    "EOI":      None,
+    "VAL":          None,
+    "EOI":          None,
 
     # Special
     "T_TRUE":       None,
-    "VXID":     "vxid",
+    "VXID":         "vxid",
 }
 
 #######################################################################


More information about the varnish-commit mailing list