symbols which can be referenced forward are analyzed forward

and other symbols (e.g. variables) are analyzed when symbols are
resolved.