[Oberon] erroneous hiding procedures in programmer's text editor v2.1

Zdenek oberon at moravcik.info
Wed Dec 11 14:39:21 CET 2013


I would like to report a bug in AOS:
Attached module test is causing "Programmers Editing Tool v2.1"  (what
is the name for this text editor?)
to hide procedure test2 (and all others that follow) in its left part
called "Program Structure (Errors)".
That means that in editors gui on the left side only procedure test1 is
shown.
Nevertheless this module compiles ok from editor.

If you place semicolon after n : LONGINT (i.e.   n : LONGINT; BEGIN ...
) this problem disappears.
Also if you delete "IF n = 0 THEN RETURN END;" problem disappears too
but obviously this is not the solution to get rid of this small bug in
the programmer's text editor v2.1

Bug was detected in AOS revision 5406.


My question: is it syntactically OK to omit semicolon before procedure's
BEGIN ?

Zdenek



MODULE test2;

PROCEDURE test1();
VAR
 n : LONGINT
BEGIN
  IF n = 0 THEN RETURN END;
END test1;

PROCEDURE test2();
BEGIN
 
END test2;
 
...

END test.




More information about the Oberon mailing list