On 09/11/2010 08:34 PM, Paolo Bonzini wrote: >> CStruct subclass: Foo [ <declaration: #( #(#name #string) )> ]. fails to >> parse, maybe for the same reason that gst-remote does not work? > > Yes, VisualGST also uses STInST to parse. Likely a bug in the GSTParser > class.
Typing the above class in anything that has an 'Accept' will open the debugger. It appears that CStruct class>>#declaration: is not called with a proper array but the RB representation of #( #(#name #string) ) (( RBLiteralToken(( RBLiteralToken(#name) RBLiteralToken(#string) )) )). So it appears that something is missing to go from there to array and pass that into the declaration. Could you hint me of where this should/could happen? E.g. in GSTFileInParser>>parseClassTag? _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org http://lists.gnu.org/mailman/listinfo/help-smalltalk