Fixed parser.
added some kind of symbol table