The documented syntax of PSQL module bodies shows that forward declarations and non-forward declarations can be mixed, but that is not actually correct. First all forward declarations (if any) need to be specified and then all non-forward declarations. Mixing them like the current syntax documentation suggests is not possible.
Affects: fblangref40, fblangref50.
The documented syntax of PSQL module bodies shows that forward declarations and non-forward declarations can be mixed, but that is not actually correct. First all forward declarations (if any) need to be specified and then all non-forward declarations. Mixing them like the current syntax documentation suggests is not possible.
See also https://github.com/FirebirdSQL/firebird/issues/7784