Allow spaces in a vector literal
This commit is contained in:
@ -473,7 +473,8 @@ def _makeGrammar():
|
|||||||
rbracket = Literal(")")
|
rbracket = Literal(")")
|
||||||
comma = Literal(",")
|
comma = Literal(",")
|
||||||
vector = Combine(
|
vector = Combine(
|
||||||
lbracket + floatn("x") + comma + floatn("y") + comma + floatn("z") + rbracket
|
lbracket + floatn("x") + comma + floatn("y") + comma + floatn("z") + rbracket,
|
||||||
|
adjacent=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
# direction definition
|
# direction definition
|
||||||
|
Reference in New Issue
Block a user