From 5acd8cb36564a5ad99982f1ab8d23ca803afb43e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 4 Apr 2020 21:40:29 +0100 Subject: [PATCH] whoops wrong token for XOR --- src/soc/decoder/pseudo/lexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/decoder/pseudo/lexer.py b/src/soc/decoder/pseudo/lexer.py index 3d398817..f8952470 100644 --- a/src/soc/decoder/pseudo/lexer.py +++ b/src/soc/decoder/pseudo/lexer.py @@ -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. -- 2.30.2