BeRo1985 / besen

Complete ECMAScript Fifth Edition Implemention in Object Pascal
GNU Lesser General Public License v2.1
217 stars 48 forks source link

Application error handling is overriden for unknown purpose #24

Open JernejL opened 5 years ago

JernejL commented 5 years ago

https://github.com/BeRo1985/besen/blob/4d55f34fb3b0e9aa7e18ca0b18dd40d813d4d23c/src/BESENParser.pas#L118

ErrorProc is set to nil here, is there a reason for this? It took me white a while to figure this out why i was losing my runtime error handler.

JernejL commented 5 years ago

ErrorProc is a proc pointer in system unit and not a class property / var https://www.freepascal.org/docs-html/rtl/system/errorproc.html