3 #include "TLexerPush.hh"
8 while (getline(std::cin, s))
11 for (unsigned long i = 0; i < s.length(); i++)
14 cout << "pending: " << lexer.pending()
15 << " amb: " << lexer.ambiguous();
18 TToken tok = lexer.front();
19 DOM::GdomeString v(tok.value);
20 cout << " cat: " << tok.category << " value: " << v << " length: " << v.length();
21 if (!lexer.ambiguous()) lexer.pop();