isup: Fix the indention of the generated code
This commit is contained in:
parent
0a604c3e9b
commit
dd1d0f384b
|
@ -184,18 +184,18 @@ Object subclass: StructCreator [
|
|||
len <= 0 ifTrue: [
|
||||
len := 0.
|
||||
tag_only := '
|
||||
%1 class >> lengthLength [ ^ 0 ]
|
||||
%1 class >> lengthLength [ ^ 0 ]
|
||||
' % {aDef className}.
|
||||
].
|
||||
|
||||
type :=
|
||||
'MSGFixedField subclass: %1 [
|
||||
<category: ''OsmoNetwork-ISUP''>
|
||||
<category: ''OsmoNetwork-ISUP''>
|
||||
|
||||
%1 class >> parameterName [ ^ ''%2'' ]
|
||||
%1 class >> parameterValue [ ^ ISUPConstants par%3 ]
|
||||
%1 class >> octalLength [ ^ %4 ]
|
||||
%1 class >> spec [ ^ ''%5'' ]%6
|
||||
%1 class >> parameterName [ ^ ''%2'' ]
|
||||
%1 class >> parameterValue [ ^ ISUPConstants par%3 ]
|
||||
%1 class >> octalLength [ ^ %4 ]
|
||||
%1 class >> spec [ ^ ''%5'' ]%6
|
||||
]' % {aDef className. aDef commentName. aDef param. len. aDef ref. tag_only.}.
|
||||
|
||||
self addType: aDef ref struct: type.
|
||||
|
@ -215,13 +215,13 @@ Object subclass: StructCreator [
|
|||
|
||||
type :=
|
||||
'MSGVariableField subclass: %1 [
|
||||
<category: ''OsmoNetwork-ISUP''>
|
||||
<category: ''OsmoNetwork-ISUP''>
|
||||
|
||||
%1 class >> parameterName [ ^ ''%2'' ]
|
||||
%1 class >> parameterValue [ ^ ISUPConstants par%3 ]
|
||||
%1 class >> octalLength [ ^ %4 ]
|
||||
%1 class >> maxLength [ ^ %5 ]
|
||||
%1 class >> spec [ ^ ''%6'' ]
|
||||
%1 class >> parameterName [ ^ ''%2'' ]
|
||||
%1 class >> parameterValue [ ^ ISUPConstants par%3 ]
|
||||
%1 class >> octalLength [ ^ %4 ]
|
||||
%1 class >> maxLength [ ^ %5 ]
|
||||
%1 class >> spec [ ^ ''%6'' ]
|
||||
]' % {aDef className. aDef commentName. aDef param. minLen. maxLen. aDef ref}.
|
||||
|
||||
self addType: aDef ref struct: type.
|
||||
|
|
1130
isup_generated.st
1130
isup_generated.st
File diff suppressed because it is too large
Load Diff
Reference in New Issue