Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

void Alphabet::includeSymbol ( string const &  s  ) 

Include a symbol into the alphabet.

Definition at line 74 of file Alphabet.C.

References slexic, and slexicinv.

Referenced by Alphabet(), Compiler::procSDef(), and read().

{
  if(slexic.find(s) == slexic.end())
  {
    int tam = slexic.size();
    slexic[s] = tam;
    slexicinv.push_back(s);
  }
}


Generated by  Doxygen 1.6.0   Back to index