From: Luke Kenneth Casson Leighton Date: Sat, 4 Apr 2020 20:40:29 +0000 (+0100) Subject: whoops wrong token for XOR X-Git-Tag: div_pipeline~1515 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5acd8cb36564a5ad99982f1ab8d23ca803afb43e;p=soc.git whoops wrong token for XOR --- 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.