[Smallwiki] Parser Bug?
Keith Hodges
keith_hodges at yahoo.co.uk
Mon Jun 5 03:28:48 MEST 2006
Lukas,
I found this code in the parser:
reduceActionForHorizontalRule2: nodes
^ self items last setChildren: (self createText: (nodes at: 1)
value) , self items last children
which means that the code in the class does not match that contained in
the definition comment.
Do you have a more recent scanner/parser definition lying around somewhere?
Keith
> In the wiki parser I see the lines
>
> HorizontalRule
> : <horizontalRule> { #addHorizontalRule }
> | <horizontalRule> 'rule' Paragraph { self items children addFirst:
> (self createText: rule value) } ;
>
> items is initialized to an OrderedCollection, which I do not think
> responds to children. It does manage to pass the tests though.
>
> Keith
>
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the SmallWiki
mailing list