Status: Accepted
Owner: ----
Labels: Milestone-2.0 Type-Bug
New issue 6297 by
[hidden email]: ChunkFileFormatParser goes bananas
over embedded exclamation point
http://code.google.com/p/pharo/issues/detail?id=6297It seems that the ChunkFileFormatParser does not like exclamation points
embedded in strings.
Suppose we have the following file
$ cat test.st
FileStream stdout nextPutAll: 'Hello World'; cr.
Smalltalk quitPrimitive.
This works as expected
$ ./bin/CogVM -vm-display-null -vm-sound-null Pharo-2.0.image test.st
Hello World
Now add an exclamation point
$ cat test.st
FileStream stdout nextPutAll: 'Hello World!'; cr.
Smalltalk quitPrimitive.
Bang
$ ./bin/CogVM -vm-display-null -vm-sound-null Pharo-2.0.image test.st
===============================================================================
Notice: Errors in script loaded from /home/ubuntu/pharo2/test.st
===============================================================================
Syntax Error on line 1: 'Unmatched string quote'
================================================
1: FileStream stdout nextPutAll: 'Hello World
_^_
I don't know if this is new or not.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker