STinST Compiler not complaining at syntax errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

STinST Compiler not complaining at syntax errors

Holger Freyther
Hi Paolo,

I'm attempting to go from screen+gst to init-scripts and gst-remote and I am
having some bugs and convenience to resolve. I noticed that the STinST will
ignore some syntax issues. Do you agree that the STinST compiler should warn
about code like this?



C Parser/Compiler:
$ FileStream fileIn: 'BaseFileUpdate.st'
BaseFileUpdate.st:2: key Foo2Test not found

StIST
$ PackageLoader fileInPackage: #Compiler.
$ FileStream fileIn: 'BaseFileUpdate.st'
... no warning


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

BaseFileUpdate.st (70 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: STinST Compiler not complaining at syntax errors

Paolo Bonzini-2
On 05/30/2011 12:18 AM, Holger Hans Peter Freyther wrote:
> I'm attempting to go from screen+gst to init-scripts and gst-remote and I am
> having some bugs and convenience to resolve. I noticed that the STinST will
> ignore some syntax issues. Do you agree that the STinST compiler should warn
> about code like this?

Yes, that's a GSTParser issue though, I think.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk