diff options
-rw-r--r-- | GSM48.st | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2100,7 +2100,14 @@ Osmo.TLVParserBase subclass: GSM48MSG [ ]. ]. - "TODO: Handle the Conditionals too" + "TODO: Handle the Conditionals better here.." + each isConditional ifTrue: [ | tmp | + "Only write if it is already present" + tmp := self instVarNamed: each instVarName. + tmp ifNotNil: [ + tmp writeOn: aMsg. + ]. + ]. ] ] |