diff --git a/Projects/ISPP/IsppPreprocessor.pas b/Projects/ISPP/IsppPreprocessor.pas index 7551a940a..9dded05f0 100644 --- a/Projects/ISPP/IsppPreprocessor.pas +++ b/Projects/ISPP/IsppPreprocessor.pas @@ -1014,7 +1014,7 @@ function TPreprocessor.ProcessPreprocCommand(Command: TPreprocessorCommand; begin { Also see ErrorFunc in IsppFuncs } if Params = '' then Params := 'Error'; - RaiseError(Params); + RaiseError(Params.Trim); end; pcPragma: Pragma(Parser); pcPrint: Params := ToStr(Evaluate).AsStr;