Browse Source

Fixing hex parsing

Sebastien Ros 11 years ago
parent
commit
a9924087a6
2 changed files with 1 additions and 2 deletions
  1. 1 1
      Jint/Parser/JavascriptParser.cs
  2. 0 1
      README.md

+ 1 - 1
Jint/Parser/JavascriptParser.cs

@@ -731,7 +731,7 @@ namespace Jint.Parser
             return new Token
                 {
                     Type = Tokens.NumericLiteral,
-                    Value = Convert.ToInt32(number, 16),
+                    Value = Convert.ToInt64(number, 16),
                     LineNumber = _lineNumber,
                     LineStart = _lineStart,
                     Range = new[] {start, _index}

+ 0 - 1
README.md

@@ -85,7 +85,6 @@ If you need to pass a JavaScript callback to the CLR, then it will be converted
 ## Current tasks:
 
 - Fix remaining SunSpider scripts
-  - crypto-aes
   - 3d-raytrace