[fpc-devel] OO rewrite - first round finished
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Jul 27 14:14:04 CEST 2010
Florian Klaempfl schrieb:
> Just a another remark:
>
> uses clause of pbase must be cleaned up: it causes a lot of cyclic and
> strange dependencies. Especially the dependency on parser_opl is a no
> go. IMO there needs to go a lot of code into parser_opl.
Right, some references could be removed just now. But I left them there,
in preparation of moving global variables into the parser base class, as
references or method arguments. The uses in the implementation cannot
cause cyclic unit references.
The parser_opl reference is required just now. It can be replaced later,
by a common front-end factory and registered parser classes.
DoDi
More information about the fpc-devel
mailing list