This is an old version, view current version.

2.1 Recursive includes

Recursive includes will be ignored. For example, suppose a.stan contains

#include b.stan

and b.stan contains

#include a.stan

The result of processing this file will be empty, because a.stan will include b.stan, from which the include of a.stan is ignored and a warning printed.