jtempl / ofront

Oberon-2 to C translator
http://www.software-templ.com/shareware.html
43 stars 9 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 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 9 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