Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Apr 17, 2024
2 parents 65fa22e + eba712e commit 739b751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/MVCFramework.RQL.Parser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ procedure TRQL2SQL.Error(const Message: string);
end;
if lMsg.Trim.IsEmpty then
lMsg := '<EOF>';
raise ERQLException.CreateFmt('[Error] %s (column %d - found %s)', [message, fCurIdx, lMsg]) at AddressOfReturnAddress;
raise ERQLException.CreateFmt('[Error] %s (column %d - found %s)', [message, fCurIdx, lMsg]){$IF DEFINED(MSWINDOWS)} at AddressOfReturnAddress{$ENDIF};
end;

procedure TRQL2SQL.Execute(
Expand Down
2 changes: 1 addition & 1 deletion sources/MVCFramework.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ function TMVCEngine.CreateControllerWithDependencies(
for I := 0 to Length(lActionFormalParams) - 1 do
begin
lServiceName := '';
{$IF Defined(SYDNEYORBETTER)}
{$IF Defined(ALEXANDRIAORBETTER)}
lInjectAttribute := lActionFormalParams[I].GetAttribute<MVCInjectAttribute>;
{$ELSE}
lInjectAttribute := TRttiUtils.GetAttribute<MVCInjectAttribute>(lActionFormalParams[I]);
Expand Down

0 comments on commit 739b751

Please sign in to comment.