Workaround for stc bug.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 28 Jul 2015 07:16:10 +0100
changeset 507 c5773c25eedc
parent 506 e5d63143737f
child 508 c74a0dbfa161
Workaround for stc bug.
compiler/PPCScanner.st
--- a/compiler/PPCScanner.st	Mon Jul 27 16:28:48 2015 +0100
+++ b/compiler/PPCScanner.st	Tue Jul 28 07:16:10 2015 +0100
@@ -58,7 +58,7 @@
 !PPCScanner methodsFor:'scanning'!
 
 consumeConditionally: character
-    ^ (stream peek == character) ifTrue: [ stream next. true ] ifFalse: [ false ]
+    (stream peek == character) ifTrue: [ stream next. ^ true ] ifFalse: [ ^ false ]
 !
 
 next