Lartu / ldpl

COBOL-like programming language that compiles to C++. With serious dinosaurs with neckties and briefcases 🦕💼
https://www.ldpl-lang.org/
Apache License 2.0
160 stars 24 forks source link

DOCS: Forward calling of sub-procedures #117

Closed Lartu closed 5 years ago

Lartu commented 5 years ago

The docs here say:

Also bear in mind that a SUB-PROCEDURE has to be declared before it can be CALLed.

This is no longer true. That line should be removed and it should be explained that a sub-procedure can be called before it is declared, but the source won't compile if the sub-procedure isn't found once the parser has parsed each file included in the compilation process.

Lartu commented 5 years ago

Fixed!