Parser should accept input without functions

For instance, the Sapl file for StdEnv looks like:

|| ?module? StdEnv




|| Converted Records

Feeding that to the parser gives Not a function or type definition at line 6 before character 21. It seems that the parser could just return an empty function list.