-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
packages/OmegaPrint-Core.package/OPPrinter.class/instance/BinaryMessageSend.with.and..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
actions | ||
BinaryMessageSend: aNode with: aBinaryMessageReceiver and: aBinaryMessage | ||
|
||
| result | | ||
| binaryMessageResult result | | ||
binaryMessageResult := self value: aBinaryMessage. | ||
result := self value: aBinaryMessageReceiver. | ||
aBinaryMessage children first ifNotNil: [ result := result , ' ' , (self value: aBinaryMessage) ]. | ||
binaryMessageResult ifNotEmpty: [ result := result , ' ' , binaryMessageResult ]. | ||
^ result |
10 changes: 5 additions & 5 deletions
10
packages/OmegaPrint-Core.package/OPPrinter.class/instance/FinalStatement.with.and.and..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
actions | ||
FinalStatement: aNode with: aLiteral and: aStatement and: anotherLiteral | ||
|
||
| circumflex | | ||
circumflex := aLiteral children first. | ||
circumflex isNil | ||
ifTrue: [ ^ self value: aStatement ] | ||
ifFalse: [ ^ circumflex , ' ' , (self value: aStatement) ] | ||
| circumflexResult result | | ||
circumflexResult := self value: aLiteral. | ||
result := self value: aStatement. | ||
circumflexResult ifNotEmpty: [ result := circumflexResult , ' ' , result ]. | ||
^ result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters