aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-07-23 12:57:33 +0200
committerYann Herklotz <git@yannherklotz.com>2021-07-23 12:57:33 +0200
commit5a03b06243bcc4455c28a8d567b481574b6d4c1f (patch)
treeefb1b69754002ea58fbd111c11189604419c9e60
parentf7bffa59bfd1eb4bece108ce63459670ac1c183b (diff)
downloadverismith-5a03b06243bcc4455c28a8d567b481574b6d4c1f.tar.gz
verismith-5a03b06243bcc4455c28a8d567b481574b6d4c1f.zip
Fix small bugs with the parser
-rw-r--r--src/Verismith/Verilog/Parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Verismith/Verilog/Parser.hs b/src/Verismith/Verilog/Parser.hs
index a10fe22..8336584 100644
--- a/src/Verismith/Verilog/Parser.hs
+++ b/src/Verismith/Verilog/Parser.hs
@@ -187,7 +187,7 @@ parseTable =
binary SymPercent (sBinOp BinMod) AssocLeft
],
[ binary SymPlus (sBinOp BinPlus) AssocLeft,
- binary SymDash (sBinOp BinPlus) AssocLeft
+ binary SymDash (sBinOp BinMinus) AssocLeft
],
[ binary SymLtLt (sBinOp BinLSL) AssocLeft,
binary SymGtGt (sBinOp BinLSR) AssocLeft