mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-22 17:32:01 +00:00
Fix error message.
This commit is contained in:
parent
d24e9fa2e1
commit
b42aa8b051
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user