On Thu, 18 Nov 2010, Eliot Miranda wrote:
> Hi All,
>
> In trunk
>
> Scanner isLiteralSymbol: #<=
>
> answers false ?!?!
>
> This is breaking my Cog generated code disassembly decoration so that
> instead of
>
> 000a572c: movl $0x0045a458=#<=, %ecx : B9 58 A4 45 00
> 000a5731: call .+0xfff5ad5a (0x00000490=ceSend1Args) : E8 5A AD F5 FF
>
> I'm merely getting
>
> 000a572c: movl $0x0045a458, %ecx : B9 58 A4 45 00
> 000a5731: call .+0xfff5ad5a (0x00000490=ceSend1Args) : E8 5A AD F5 FF
>
> Anyone have a fix?
There seems to be a fix in the method, but it's commented out to be
compatible with the previous version of the method:
type == #xBinary ifTrue: [^i = 1]. "Here we could extend to
^(2 to: i) allSatisfy: [:j |
ascii := (aSymbol at: j) asciiValue.
(TypeTable at: ascii ifAbsent: []) == #xBinary]"
Levente
>
> best
> Eliot
>