fix: vlbrace error should popLayout
This commit is contained in:
@@ -14,6 +14,7 @@ module Rlp.Lex
|
|||||||
, popLexState
|
, popLexState
|
||||||
, programInitState
|
, programInitState
|
||||||
, runP'
|
, runP'
|
||||||
|
, popLayout
|
||||||
)
|
)
|
||||||
where
|
where
|
||||||
import Codec.Binary.UTF8.String (encodeChar)
|
import Codec.Binary.UTF8.String (encodeChar)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ VL : vlbrace { () }
|
|||||||
|
|
||||||
VR :: { () }
|
VR :: { () }
|
||||||
VR : vrbrace { () }
|
VR : vrbrace { () }
|
||||||
| error { () }
|
| error {% void popLayout }
|
||||||
|
|
||||||
VS :: { () }
|
VS :: { () }
|
||||||
VS : ';' { () }
|
VS : ';' { () }
|
||||||
|
|||||||
Reference in New Issue
Block a user