Funny gst-convert bug

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

Funny gst-convert bug

Holger Freyther
Hi,

using the two attached files and executing:

 gst-convert -F squeak -f gst -o fileout.st with_comment.st with_code.st

will generate a slightly broken output. The copyright header will be mangled
in a very strange way. I have not investigated the source of the issue.


Output:
"
 (C!


...

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

with_code.st (767 bytes) Download Attachment
with_comment.st (7 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Funny gst-convert bug

Holger Freyther
On Sat, Jul 19, 2014 at 07:54:06PM +0200, Holger Hans Peter Freyther wrote:
> Hi,
>
> using the two attached files and executing:
>
>  gst-convert -F squeak -f gst -o fileout.st with_comment.st with_code.st
>
> will generate a slightly broken output. The copyright header will be mangled
> in a very strange way. I have not investigated the source of the issue.


> "abc"

So somehow this comment does not end as a "SourceComment" but changing
the string length of this comment will change where the line in with_code
is being broken.

When I remove the "Object subclass: ABC" then no SourceComment will be
created. This somehow looks like the tokenizer will not end a comment
based on the '"'? The '"abc"' never ends up in a comment

holger

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