Skip to content

Commit

Permalink
Explicit line joining with backslash-newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnsholt committed Nov 4, 2014
1 parent f28eca1 commit e81b890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snake/Grammar.nqp
Expand Up @@ -23,7 +23,7 @@ token NEWLINE { <.ws> [\n | $] }
### 2.1.9: Whitespace between tokens
token wsc { <[\ \t\f]> }
# TODO: Line joining with backslash
token ws { <!ww> <.wsc>* ['#' \N+]? || <.wsc>+ ['#' \N+]? }
token ws { [<!ww> <.wsc>* || <.wsc>+] ['#' \N+ | \\\n <.ws>]? }

## 2.3: Identifiers and keywords
# TODO: xid_start/xid_continue, which is defined as anything that is
Expand Down

0 comments on commit e81b890

Please sign in to comment.