Skip to content

Commit 6b319ed

Browse files
committed
reformating
1 parent 9252475 commit 6b319ed

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/Sempare.Template.Functions.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,11 @@ class procedure TInternalFuntions.SetVariable(const AStackFrames: TObjectStack<T
385385
begin
386386
if (AStackFrames = nil) or (AStackFrames.count = 0) or (AStackOffset > 0) or (-AStackOffset > AStackFrames.count) then
387387
exit;
388-
{$IFDEF DEFINE SUPPORT_STACK_LIST_PROPERTY}
388+
{$IFDEF DEFINE SUPPORT_STACK_LIST_PROPERTY}
389389
LStackFrame := AStackFrames.List[AStackFrames.count + AStackOffset];
390-
{$ELSE}
390+
{$ELSE}
391391
LStackFrame := AStackFrames.ToArray[AStackFrames.count + AStackOffset];
392-
{$ENDIF}
392+
{$ENDIF}
393393
LStackFrame[AVariable] := AValue;
394394
end;
395395

@@ -706,11 +706,11 @@ class function TInternalFuntions.GetVariable(const AStackFrames: TObjectStack<TS
706706
begin
707707
if (AStackFrames = nil) or (AStackFrames.count = 0) or (AStackOffset > 0) or (-AStackOffset > AStackFrames.count) then
708708
exit;
709-
{$IFDEF DEFINE SUPPORT_STACK_LIST_PROPERTY}
709+
{$IFDEF DEFINE SUPPORT_STACK_LIST_PROPERTY}
710710
LStackFrame := AStackFrames.List[AStackFrames.count + AStackOffset];
711-
{$ELSE}
711+
{$ELSE}
712712
LStackFrame := AStackFrames.ToArray[AStackFrames.count + AStackOffset];
713-
{$ENDIF}
713+
{$ENDIF}
714714
exit(LStackFrame[AVariable]);
715715
end;
716716

src/Sempare.Template.JSON.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ interface
5757
TJsonArray = Data.DBXJSON.TJsonArray;
5858
{$ELSE}
5959
TJsonValue = System.JSON.TJsonValue;
60-
{$IFDEF SUPPORT_JSON_BOOL}
60+
{$IFDEF SUPPORT_JSON_BOOL}
6161
TJSONBool = System.JSON.TJSONBool; // not in XE6
62-
{$ENDIF}
62+
{$ENDIF}
6363
TJSONString = System.JSON.TJSONString;
6464
TJSONNumber = System.JSON.TJSONNumber;
6565
TJsonObject = System.JSON.TJsonObject;

src/Sempare.Template.Rtti.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,9 @@ function MatchJsonValue(const AContext: ITemplateContext; const ATypeInfo: PType
10531053
(ATypeInfo = TypeInfo(TJSONNull)) or //
10541054
(ATypeInfo = TypeInfo(TJSONNumber)) or //
10551055
(ATypeInfo = TypeInfo(TJSONString)) or //
1056-
{$IFDEF SUPPORT_JSON_BOOL}
1056+
{$IFDEF SUPPORT_JSON_BOOL}
10571057
(ATypeInfo = TypeInfo(TJSONBool)) or //
1058-
{$ENDIF}
1058+
{$ENDIF}
10591059
(ATypeInfo = TypeInfo(TJSONTrue)) or //
10601060
(ATypeInfo = TypeInfo(TJSONFalse)) //
10611061
);

0 commit comments

Comments
 (0)