z505 / ofront

Automatically exported from code.google.com/p/ofront
0 stars 0 forks source link

IMPORT SYSTEM not need to use tag [1]. #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's not such a serious problem, just a wish to be more correct.

MODULE Abc; VAR a: ARRAY[1] OF CHAR; END Abc.

It compiles without any warnings.

I suggest the correction which displays the error 135 "SYSTEM not imported" in 
this case.

https://github.com/Oleg-N-Cher/Ofront/commit/c7e13787a5d19beb828c94eab802b032db9
6c21e

Original issue reported on code.google.com by al...@bk.ru on 13 Dec 2014 at 12:28

GoogleCodeExporter commented 8 years ago
correction of the above code example as proposed by the author:
MODULE Abc; VAR a: ARRAY[1] 10 OF CHAR; END Abc.

Original comment by josef.te...@gmail.com on 15 Dec 2014 at 10:23