pas2js: debug val() failure

git-svn-id: trunk@40144 -
This commit is contained in:
Mattias Gaertner 2018-11-01 13:32:58 +00:00
parent 05243a2de6
commit a2f89ac1f9
2 changed files with 11 additions and 2 deletions

View File

@ -4239,6 +4239,9 @@ begin
{$ENDIF}
exit;
end;
{$IFDEF VerbosePasResEval}
writeln('TResExprEvaluator.Eval Value="',TPrimitiveExpr(Expr).Value,'"');
{$ENDIF}
RaiseRangeCheck(20170518202252,Expr);
end;
pekString:

View File

@ -61,9 +61,15 @@
<Other>
<CustomOptions Value="-Jeutf-8
-Jc
-dVerboseFileCache"/>
<OtherDefines Count="1">
-dVerboseFileCache
-dVerbosePasResolver
-dVerbosePas2JS
-dVerbosePasResEval"/>
<OtherDefines Count="4">
<Define0 Value="VerboseFileCache"/>
<Define1 Value="VerbosePasResolver"/>
<Define2 Value="VerbosePas2JS"/>
<Define3 Value="VerbosePasResEval"/>
</OtherDefines>
<CompilerPath Value="$(pas2js)"/>
</Other>