Skip to content
Browse files

Wrapped primitives in a PrimValue

  • Loading branch information...
1 parent dde2189 commit c6b510947ba1713f6bb4c077b10bfe337e6f8431 Mikael Bung committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 haskell.parser.js
View
2 haskell.parser.js
@@ -56,7 +56,7 @@ Todo:
var integerlit = function(state) {
if (enableHash) {
return choice( action(sequence(repeat1(range('0', '9')), '#'), function(ast) {
- return parseInt(ast[0].join(""));
+ return new haskell.ast.PrimitiveValue(parseInt(ast[0].join("")));
}),
integer)(state);
} else {

0 comments on commit c6b5109

Please sign in to comment.
Something went wrong with that request. Please try again.