Skip to content

Commit

Permalink
add note about parse errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Apr 4, 2019
1 parent 4446e0d commit 3f5e63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/moon/dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@
* type.
*
* @param {Object[]} tokens
* @returns {Object} Abstract syntax tree
* @returns {Object} Abstract syntax tree or ParseError
*/


Expand Down
2 changes: 1 addition & 1 deletion packages/moon/src/compiler/parser/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function parseElement(start, end, tokens) {
* type.
*
* @param {Object[]} tokens
* @returns {Object} Abstract syntax tree
* @returns {Object} Abstract syntax tree or ParseError
*/
export function parse(tokens) {
const tree = parseElement(0, tokens.length, tokens);
Expand Down

0 comments on commit 3f5e63a

Please sign in to comment.