changeset 507 | c5773c25eedc |
parent 502 | 1e45d3c96ec5 |
child 516 | 3b81c9e53352 |
506:e5d63143737f | 507:c5773c25eedc |
---|---|
56 ! ! |
56 ! ! |
57 |
57 |
58 !PPCScanner methodsFor:'scanning'! |
58 !PPCScanner methodsFor:'scanning'! |
59 |
59 |
60 consumeConditionally: character |
60 consumeConditionally: character |
61 ^ (stream peek == character) ifTrue: [ stream next. true ] ifFalse: [ false ] |
61 (stream peek == character) ifTrue: [ stream next. ^ true ] ifFalse: [ ^ false ] |
62 ! |
62 ! |
63 |
63 |
64 next |
64 next |
65 stream next |
65 stream next |
66 ! |
66 ! |