summaryrefslogtreecommitdiff
path: root/packages/pastojs/src/fppas2js.pp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pastojs/src/fppas2js.pp')
-rw-r--r--packages/pastojs/src/fppas2js.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/pastojs/src/fppas2js.pp b/packages/pastojs/src/fppas2js.pp
index bb222fd720..2054885b0d 100644
--- a/packages/pastojs/src/fppas2js.pp
+++ b/packages/pastojs/src/fppas2js.pp
@@ -4488,6 +4488,9 @@ begin
AddElevatedLocal(El);
end;
end
+ else if ParentC=TPasImplExceptOn then
+ // except on var
+ RaiseVarModifierNotSupported(LocalVarModifiersAllowed)
else if ParentC=TImplementationSection then
// implementation var
RaiseVarModifierNotSupported(ImplementationVarModifiersAllowed)
@@ -4499,7 +4502,7 @@ begin
else
begin
{$IFDEF VerbosePas2JS}
- writeln('TPas2JSResolver.FinishVariable ',GetObjName(El),' Parent=',GetObjName(El.Parent));
+ writeln('TPas2JSResolver.FinishVariable ',GetObjPath(El));
{$ENDIF}
RaiseNotYetImplemented(20170324151259,El);
end;