From b42aa8b05139a331c270f2bbe2cd9a833a6de31a Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Mon, 5 Mar 2018 11:28:08 +0000 Subject: [PATCH] Fix error message. --- src/sixtypical/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sixtypical/parser.py b/src/sixtypical/parser.py index 320e53c..480953c 100644 --- a/src/sixtypical/parser.py +++ b/src/sixtypical/parser.py @@ -147,7 +147,7 @@ class Parser(object): if self.scanner.consume('table'): size = self.defn_size() if size <= 0 or size > 256: - raise SyntaxError("Table size must be a power of two, 0 < size <= 256") + raise SyntaxError("Table size must be > 0 and <= 256") type_ = TableType(type_, size) return type_