diff --git a/utils/pas2js/stubcreator.pp b/utils/pas2js/stubcreator.pp index ee28da7256..f6721b695c 100644 --- a/utils/pas2js/stubcreator.pp +++ b/utils/pas2js/stubcreator.pp @@ -340,7 +340,7 @@ begin FLineNumberWidth:=4; FIndentSize:=2; FExtraUnits:=''; - FOptions:=[woNoImplementation,woNoExternalClass,woNoExternalVar,woNoExternalFunc,woNoAsm,woSkipPrivateExternals]; + FOptions:=[woNoImplementation,woNoExternalClass,woNoExternalVar,woNoExternalFunc,woNoAsm,woSkipPrivateExternals,woAlwaysRecordHelper]; end; destructor TStubCreator.Destroy;