1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 01:32:13 +00:00

Fix error message.

This commit is contained in:
Chris Pressey 2018-03-05 11:28:08 +00:00
parent d24e9fa2e1
commit b42aa8b051

View File

@ -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_