Skip to content
Browse files

Added some extra docs to clarify the use of parser:didProduceSyntaxTree:

  • Loading branch information...
1 parent 8146617 commit 7f5e2ccd773d59017ee29abbbe093ee13a680425 Tom Davie committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 CoreParse/Parsers/CPParser.h
2 CoreParse/Parsers/CPParser.h
@@ -45,7 +45,7 @@
* Should return an object to replace a produced syntax tree with.
- * You should not return `nil` from this method.
+ * You should not return `nil` from this method. If you do not wish to change the syntax tree, simply return the same value as you are passed.
* @warning Note that it is not guarenteed that this method will be called in the same order as the structures appear in your input stream.

0 comments on commit 7f5e2cc

Please sign in to comment.
Something went wrong with that request. Please try again.