whoops wrong token for XOR
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:40:29 +0000 (21:40 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 4 Apr 2020 20:40:34 +0000 (21:40 +0100)
src/soc/decoder/pseudo/lexer.py

index 3d39881753906b60a9e42760c1c8d1887cdca1e6..f8952470b0ef86b099b5699f4964db67f011165f 100644 (file)
@@ -309,7 +309,7 @@ class PowerLexer:
     t_APPEND = r'\|\|'
     t_BITOR = r'\|'
     t_BITAND = r'\&'
-    t_BITXOR = r'\&'
+    t_BITXOR = r'\^'
 
     # Ply nicely documented how to do this.