1. The real number scale factor "D" is deleted in the grammar in the appendix. Now it's consistent with the syntax in section 3 where only "E" is valid.
2. There is no semicolon after a module identifier. (Currently the grammar in the appendix is not updated).
https://www.astrobe.com/wirth/Oberon07. ... 160503.pdf
Oberon Report Update 2016-05-03
Re: Oberon Report Update 2016-05-03
As of 2016-05-08 the semicolon after the import list has also been dropped.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Oberon Report Update 2016-05-03
My conclusion is that the EBNF in the Appendix is correct. The wrong semicolon was originally removed in Section 11 and has not been restored yet - otherwise the example in Section 11 would be incorrect.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Oberon Report Update 2016-05-03
The corrected version which has restored the semicolon after the module ident in Section 11 can now be downloaded from:
http://www.astrobe.com/Oberon.Report.pdf
http://www.astrobe.com/Oberon.Report.pdf
Re: Oberon Report Update 2016-05-03
Yes, you are correct. I never noticed the previous error with the extra semicolon in section 11. Now the report is correct, however. It would have been a bit drastic of Wirth to drop the semicolon requirement in the syntax.cfbsoftware wrote:My conclusion is that the EBNF in the Appendix is correct. The wrong semicolon was originally removed in Section 11 and has not been restored yet - otherwise the example in Section 11 would be incorrect.