Permalink
Browse files

Fix typo in JavaScript example grammar

  • Loading branch information...
1 parent c91dc7e commit 5cf66d824cfceac3b697dde5c4fed07bb23e2323 @dmajda dmajda committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/javascript.pegjs
@@ -240,7 +240,7 @@ SignedInteger
= sign:[-+]? digits:DecimalDigits { return sign + digits; }
HexIntegerLiteral
- = "0" [xX] digits:HexDigit+ { return parseInt("0x" + dgits.join("")); }
+ = "0" [xX] digits:HexDigit+ { return parseInt("0x" + digits.join("")); }
HexDigit
= [0-9a-fA-F]

0 comments on commit 5cf66d8

Please sign in to comment.