1
0
Fork 0

isup: Fix the indention of the generated code

This commit is contained in:
Holger Hans Peter Freyther 2012-01-20 16:59:16 +01:00
parent 0a604c3e9b
commit dd1d0f384b
2 changed files with 577 additions and 577 deletions

View File

@ -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.

File diff suppressed because it is too large Load Diff