[squeak-dev] The Inbox: ShoutCore-ct.69.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Aug 14 20:43:06 UTC 2019
A new version of ShoutCore was added to project The Inbox:
http://source.squeak.org/inbox/ShoutCore-ct.69.mcz
==================== Summary ====================
Name: ShoutCore-ct.69
Author: ct
Time: 14 August 2019, 10:43:04.7164 pm
UUID: 7d165f4e-09bf-a445-a664-5e8edb9867b8
Ancestors: ShoutCore-ul.68
Fix bug in SHParserST80: Wrong styling after blocks with arguments without statements
Thanks Jakob for the report!
=============== Diff against ShoutCore-ul.68 ===============
Item was changed:
----- Method: SHParserST80>>parseBlockArguments (in category 'parse') -----
parseBlockArguments
currentTokenFirst == $: ifFalse: [ ^self ].
[ currentTokenFirst == $: ] whileTrue: [
self
scanPast: #blockArgColon;
parseArgument: #blockPatternArg ].
+ ((self parseVerticalBarForTemporaries: #blockArgsBar) and: [
+ currentTokenFirst ~= $] ])
+ ifFalse: [
+ self fail ": Missing block args bar" ]!
- (self parseVerticalBarForTemporaries: #blockArgsBar) ifFalse: [
- self fail ": Missing block args bar" ]!
More information about the Squeak-dev
mailing list
|