Delphi client Unexpected End Of File

I’ve been using the RemObjects component with Delphi XE since a long time ago. However, lately in order to make any changes in the PascalScript code, when the component RemObjects run LoadProcs method at unit uPSRuntime.pas, the exception above occurs.

Debugger Exception Notification

Project TestPascalScript.exe raised exception class Exception with message ‘Unexpected End Of File’.

Break Continue Help

Does anyone have any idea?

DEpending on when it happens it either gets to an EOF before the end (when parsing) or when TPSExec throws it, the input data is too short, ie cut off.