I fixed RBParser so that it properly accepts degraded Pharo code:
Name: AST-Core-lr.23
Author: lr
Time: 16 November 2009, 1:53:36 pm
UUID: 0f649dde-0cb4-4552-8d70-f4f782339af3
Ancestors: AST-Core-lr.22
- fixed RBScanner so that it properly parses degraded literals such as
# foo -> #foo
##foo -> #foo
### ##foo -> #foo
This fixes also the last problem parsing the complete image. An
utterly strange example of deformed Smalltalk can be found in the core
image at:
MirrorPrimitiveTests>>testMirrorPerform
(has spaces between # and the symbol)
Lukas
2009/11/16 Lukas Renggli <[email protected]>:
>> browser sendTo: ##navigation->#namespaceToSelect fromOutside:
>> #namespaceToSelect.
>> browser sendTo: ##navigation->#classToSelect fromOutside:
>> #classToSelect.
>> browser sendTo: ##navigation->#methodToSelect fromOutside:
>> #methodToSelect.
>
> ##navigation is not really valid Smalltalk. I don't know why the Pharo
> Compiler accepts that. I can change the refactoring browser to also
> accept that, but it looks strange to me.
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project