Skip to content

Add tests for block comments, in a separate file. - #233

Merged
rossberg merged 1 commit into
masterfrom
unknown repository
Feb 25, 2016
Merged

rossberg merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Feb 4, 2016

Copy link
Copy Markdown

@rossberg

rossberg commented Feb 4, 2016

Copy link
Copy Markdown
Member

LGTM, but you might also want to test proper nesting, e.g.

(; a (; b ;) c ;)
(; ;; bla ;)
(; ;; bla
;)

Also, why not just name the test comments?

@ghost

ghost commented Feb 4, 2016

Copy link
Copy Markdown
Author

Thank you, added the nesting tests. A simple s-exp parser might not bother with the block comments, and just skip this test, but might still implement the ;; comments which are more common and could be used in the other tests.

rossberg added a commit that referenced this pull request Feb 25, 2016
Add tests for block comments, in a separate file.
@rossberg
rossberg merged commit 86b85c5 into WebAssembly:master Feb 25, 2016
@ghost
ghost deleted the block_comments branch February 25, 2016 10:24
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Mar 2, 2023
I think this should be also updated to include handlers and `caught` to
match the `rethrow` rule in WebAssembly#225.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant