error while loading I18N; missing Texinfo escape

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

error while loading I18N; missing Texinfo escape

S11001001
On line 334 in i18n/Sets.st, there seems to be a stray period, as in:

--- orig/i18n/Sets.st
+++ mod/i18n/Sets.st
@@ -331,7 +331,7 @@

     "If converting to the pivot encoding, we're done."
     pivot := ((to startsWith: 'UCS-4') or: [ to startsWith: 'UTF-32' ])
-       ifTrue: [ to ].
+       ifTrue: [ to ]
        ifFalse: [ self pivotEncoding ].

     encoderTo := Iconv.

I get an error parsing this with both the built-in and RBParser, which
makes me curious as to how it has survived for so long.

On line 389 in doc/gst.texi, the @ needs an escaping @:

--- orig/doc/gst.texi
+++ mod/doc/gst.texi
@@ -386,7 +386,7 @@

 @example
 #! /bin/sh
-"exec" "gst" "-f" "$0" "$@"
+"exec" "gst" "-f" "$0" "$@@"

 @r{@i{@dots{} Smalltalk source code @dots{}}}
 @end example

--
Stephen Compall
http://scompall.nocandysw.com/blog


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: error while loading I18N; missing Texinfo escape

Paolo Bonzini
Stephen Compall wrote:

> On line 334 in i18n/Sets.st, there seems to be a stray period, as in:
>
> --- orig/i18n/Sets.st
> +++ mod/i18n/Sets.st
> @@ -331,7 +331,7 @@
>
>      "If converting to the pivot encoding, we're done."
>      pivot := ((to startsWith: 'UCS-4') or: [ to startsWith: 'UTF-32' ])
> -       ifTrue: [ to ].
> +       ifTrue: [ to ]
>         ifFalse: [ self pivotEncoding ].
>
>      encoderTo := Iconv.
>
> I get an error parsing this with both the built-in and RBParser, which
> makes me curious as to how it has survived for so long.
>  
In fact it survived a little less, because it's fixed in my next round
of Sets.st changes.

> On line 389 in doc/gst.texi, the @ needs an escaping @:
>
> --- orig/doc/gst.texi
> +++ mod/doc/gst.texi
> @@ -386,7 +386,7 @@
>
>  @example
>  #! /bin/sh
> -"exec" "gst" "-f" "$0" "$@"
> +"exec" "gst" "-f" "$0" "$@@"
>
>  @r{@i{@dots{} Smalltalk source code @dots{}}}
>  @end example
>  
Applied, thanks.

Paolo



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