syntax - Delphi: Closing Brackets Optional? -


I have seen many times that syntax errors such as

  exits (push (ASBDD) ( Aspixmap, _ScriptSavePixmap (script, PMRGBEdz (_ScriptGetPixmap) (script, RGS [0]. Indexes, adparam)));  

Actually compiled. Note that a closing bracket ) is missing (definitely if I add this missing class then it is compiled!)

Is this a document feature?

Additional information: The statement given in the question is the last statement in a code block. Including any statement after this statement will cause the compiler to report the correct ")" error to the compiler.

It will appear that the compiler loses the track of missing "missing" error when at the end of the block. This is the most compiler bug. It seems that this discrepancy has been around for a long time. do not count on it.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -