List Info

Thread: undeclared bindings; ArrayConstructorNodes




undeclared bindings; ArrayConstructorNodes
user name
2006-12-30 05:06:23
Array
undeclared bindings; ArrayConstructorNodes
user name
2006-12-31 15:52:33
Stephen Compall wrote:
> I've been trying to load I18N with Compiler loaded in
2.3.1, using
> compiler-cascade.diff from earlier.  (This patch works
fine, by the
> way.)
> 
> In STSymbolTable, bindingOf:for: (used for vars with
paths) handles
> undeclared variables during fileIn as the builtin
compiler does, but
> lookupPoolsFor: (used for vars without paths) does not.
 Attached is
> gst-lookupPoolsFor-undeclared.diff on
compiler/STSymTable.st to handle
> this.

I applied it, except that I renamed
lookupPoolsAndUndeclaredFor: to 
lookupBindingOf:


> RBArrayConstructorNode>>#acceptVisitor: still
sends #acceptArrayNode:,
> and RBProgramNodeVisitor's implementation of that
descends into the
> SequenceNode, presumably invoking the aforementioned
#finish.
> 
> I don't know which way the renaming is going, so I
just added
> acceptArrayNode: to STCompiler.

I renamed every acceptArrayNode: to
acceptArrayConstructorNode: and 
applied the other part of the patch.

Thanks (next time also include ChangeLog entries)!

Paolo



_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )