Updated bnf file parser, to enable token def priorities, and multiline definitions
fixed file reading bug