//Semantic procedures //Finds the current symbol in the identifiers table protected void SemanticProcedure1() { string curSymbol = machine.GetBufferContent(); if (!machine.GetIdentifiersTable().ContainsKey(curSymbol)) { machine.AddIdentifier(curSymbol); //Add new identifier to the identifiers table } machine.AddLexeme(machine.GetIdentifiersTable()[curSymbol]); }