mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Improve Delphi Unit Generator code formatting output
This commit is contained in:
parent
e4f57686e2
commit
d95d31d4d4
@ -439,11 +439,11 @@ begin
|
||||
if LParamFlagString.Length > 0 then
|
||||
LParamFlagString := LParamFlagString + ' ';
|
||||
|
||||
LParamString := LParamString + LParamFlagString + LParam.ParamName + ': ' + LParam.FType.FTypeName + ';';
|
||||
LParamString := LParamString + LParamFlagString + LParam.ParamName + ': ' + LParam.FType.FTypeName + '; ';
|
||||
end;
|
||||
|
||||
if LParamString.EndsWith(';') then
|
||||
LParamString := LParamString.Remove(LParamString.Length - 1);
|
||||
if LParamString.EndsWith('; ') then
|
||||
LParamString := LParamString.Remove(LParamString.Length - 2);
|
||||
|
||||
LParamString := LParamString + ')';
|
||||
|
||||
@ -524,11 +524,11 @@ begin
|
||||
|
||||
if LParamFlagString.Length > 0 then
|
||||
LParamFlagString := LParamFlagString + ' ';
|
||||
LParamString := LParamString + LParamFlagString + LParam.ParamName + ': ' + LParam.FType.FTypeName + ';';
|
||||
LParamString := LParamString + LParamFlagString + LParam.ParamName + ': ' + LParam.FType.FTypeName + '; ';
|
||||
end;
|
||||
|
||||
if LParamString.EndsWith(';') then
|
||||
LParamString := LParamString.Remove(LParamString.Length - 1);
|
||||
if LParamString.EndsWith('; ') then
|
||||
LParamString := LParamString.Remove(LParamString.Length - 2);
|
||||
|
||||
LParamString := LParamString + ')';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user