From b38adb44de1e05d35a71fd6c281652a42dbc6432 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 27 Apr 2010 05:13:47 +0000 Subject: [PATCH] Fix usage of numeric lierals --- Output.cpp | 2 +- todo.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Output.cpp b/Output.cpp index a3765da..d6c3a03 100644 --- a/Output.cpp +++ b/Output.cpp @@ -326,7 +326,7 @@ void CYDeclarations::Output(CYOutput &out, CYFlags flags) const { } void CYDirectMember::Output(CYOutput &out, CYFlags flags) const { - object_->Output(out, Precedence(), CYLeft(flags)); + object_->Output(out, Precedence(), CYLeft(flags) | CYNoInteger); if (const char *word = property_->Word()) out << '.' << word; else diff --git a/todo.txt b/todo.txt index ec979ec..0aaa396 100644 --- a/todo.txt +++ b/todo.txt @@ -22,7 +22,6 @@ throw CYJSError should probably be replaced with CYThrow() across the board figure out what to do about global context refs: I really really want to retain the bastards the concept of NULL pooling is entirely incorrect and sad... bad... evil... need to work on this... really NSArray's .toString() and .toLocaleString() fail hard, as Array.prototype.to*String are Array-specific -(4).toString() is legal, but I'm stripping the ()'s somehow in the serializer applyOnMainThread, when done at console, loops the cyonifier special work needs to be done to correctly handle the "arguments" symbol: Declare("arguments", ...Special) at the Program level I seem to be eating away all of the var statements -- 2.47.2