qt5base-lts/util/lexgen
Axel Waggershauser b11317a643 Whitespace cleanup: remove trailing whitespace
Remove all trailing whitespace from the following list of files:
*.cpp *.h *.conf *.qdoc *.pro *.pri *.mm *.rc *.pl *.qps *.xpm *.txt *README
excluding 3rdparty, test-data and auto generated code.

Note A): the only non 3rdparty c++-files that still
have trailing whitespace after this change are:
* src/corelib/codecs/cp949codetbl_p.h
* src/corelib/codecs/qjpunicode.cpp
* src/corelib/codecs/qbig5codec.cpp
* src/corelib/xml/qxmlstream_p.h
* src/tools/qdoc/qmlparser/qqmljsgrammar.cpp
* src/tools/uic/ui4.cpp
* tests/auto/other/qtokenautomaton/tokenizers/*
* tests/benchmarks/corelib/tools/qstring/data.cpp
* util/lexgen/tokenizer.cpp

Note B): in about 30 files some overlapping 'leading tab' and
'TAB character in non-leading whitespace' issues have been fixed
to make the sanity bot happy. Plus some general ws-fixes here
and there as asked for during review.

Change-Id: Ia713113c34d82442d6ce4d93d8b1cf545075d11d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-03-16 20:22:50 +01:00
..
tests Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
configfile.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
configfile.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
css2-simplified.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
generator.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
generator.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
global.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
lexgen.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
nfa.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
nfa.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
re2nfa.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
re2nfa.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
README Nokia -> Qt Project 2013-02-05 20:53:57 +01:00
test.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tokenizer.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00

Lexgen
------

This is a little tool to generate lexical scanners from a rather simplistic
configuration file. We use it internally in Qt to generate the scanner for the
CSS parser that is built into the toolkit (used for the widget styling and the
HTML import into QTextDocument).

Beware, it's very slow (in generating the code) and it may not generate what
you want. But I like that it generates code that operates on QChar and friends.

Use at your own risk ;-)


--
Simon Hausmann <simon.hausmann@digia.com>