Logo Search packages:      
Sourcecode: lttoolbox version File versions

void Compiler::skipBlanks ( string &  name  )  [private]

Skip all blank text nodes before "name"

Parameters:
name the name of the node

Definition at line 305 of file Compiler.C.

References allBlanks(), latin1(), and reader.

Referenced by procEntry().

{
  while(name == "#text" || name == "#comment")
  {
    if(name != "#comment")
    {
      if(!allBlanks())
      {
        cerr << "Error (" << xmlTextReaderGetParserLineNumber(reader); 
        cerr << "): Invalid construction." << endl;
        exit(EXIT_FAILURE);
      }
    }
    xmlTextReaderRead(reader);
    name = latin1(xmlTextReaderConstName(reader));
  }
}


Generated by  Doxygen 1.6.0   Back to index