Rewrite of tinygettext's POFileReader to look more like a combination of lisp/lexer...
authorMathnerd314 <man.is.allan@gmail.com>
Tue, 20 Jan 2009 23:49:55 +0000 (23:49 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Tue, 20 Jan 2009 23:49:55 +0000 (23:49 +0000)
commitaee6c4dede5a9c4fa0f7eb134fba61fef738a573
tree9ad083cc24e9743e729a530293c08bb76983a8c7
parenta9b8c5d9aa680049a7c007418fe852efcbd592be
Rewrite of tinygettext's POFileReader to look more like a combination of lisp/lexer and lisp/parser,
removing need for all those ugly State variables. Also move line numbering to nextChar in lexer.cpp
and add a method addChar() to append to the buffer.

Should compile, but I (using my English-only system) haven't tested it completely.

SVN-Revision: 5829
src/lisp/lexer.cpp
src/lisp/lexer.hpp
src/tinygettext/tinygettext.cpp