try again with adding XOR operator
[soc.git] / src / soc / decoder / pseudo / lexer.py
index ee06c3f154578d84bd20a524f38c1defece8b274..3638a7fe4c285b02ed4bb775c087c927fbbed099 100644 (file)
@@ -256,6 +256,7 @@ class PowerLexer:
         'APPEND',
         'BITOR',
         'BITAND',
+        'BITXOR',
         'RETURN',
         'WS',
         'NEWLINE',
@@ -308,6 +309,7 @@ class PowerLexer:
     t_APPEND = r'\|\|'
     t_BITOR = r'\|'
     t_BITAND = r'\&'
+    t_BITXOR = r'\&'
 
     # Ply nicely documented how to do this.