scanner/dfa both compiling