Skip to content

FlowMap Parsing is quite different between v1.10.2 and v2.0.0-5 #280

Closed Answered by eemeli
ipapast asked this question in Q&A
Discussion options

You must be logged in to vote

When you embed a flow collection within a block collection, you still need to follow the indentation rules of the outer collection. In other words, all of the flow collection needs to be more indented than its parent. The final closing brace can be at the same level as the key, but other parsers might complain about that.

As for what changed, well, the parser was entirely rewritten from the ground up to include a lexer as the first step, and the intermediate CST structure is now completely different. In both cases, the parser is complaining about the input being broken, but the error messages are a bit different.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ipapast
Comment options

Answer selected by ipapast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants