mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-02-16 15:30:26 +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'):
|
if self.scanner.consume('table'):
|
||||||
size = self.defn_size()
|
size = self.defn_size()
|
||||||
if size <= 0 or size > 256:
|
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)
|
type_ = TableType(type_, size)
|
||||||
|
|
||||||
return type_
|
return type_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user