change BNF (but not implementation of BNF) for parsing, to handle layers, and also change minimum key in layer tree to be 1
This commit is contained in:
@@ -26,6 +26,8 @@ struct
|
||||
else if min = lastBrace then
|
||||
if str = "{" then SOME (lastBrace, T.L_BRACE :: acc)
|
||||
else if str = "}" then SOME (lastBrace, T.R_BRACE :: acc)
|
||||
else if str = "[" then SOME (lastBrace, T.L_BRACKET :: acc)
|
||||
else if str = "]" then SOME (lastBrace, T.R_BRACKET :: acc)
|
||||
else NONE
|
||||
else
|
||||
NONE
|
||||
|
||||
Reference in New Issue
Block a user