Skip to content

Commit

Permalink
fix empties, wraps
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed May 22, 2017
1 parent 8861742 commit da562b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/jssm-dot.peg
@@ -1,6 +1,6 @@

Expression
= Whitespace ExpList Whitespace
= Whitespace e:ExpList Whitespace { return e; }

ForwardArrow "forward arrow"
= "->"
Expand Down Expand Up @@ -28,6 +28,7 @@ Char
/ "n" { return "\n"; }
/ "r" { return "\r"; }
/ "t" { return "\t"; }
/ "v" { return "\v"; }
/ "u" digits:$(HexDigit HexDigit HexDigit HexDigit) {
return String.fromCharCode(parseInt(digits, 16));
}
Expand Down

0 comments on commit da562b4

Please sign in to comment.