handle nested include attributes done in ocaml yacc
Differential Revision: https://phabricator.kde.org/D15207