|
From: | Holger Hans Peter Freyther |
Subject: | Re: [Help-smalltalk] CStruct and another set of weird issues |
Date: | Mon, 13 Sep 2010 03:37:54 +0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |