Fixed parser bug with debugcode.