Volker Hilsheimer 24d3a2fa48 lexgen: Update generated code to Qt 6
Use .size() instead of .length(), and qsizetype instead of int.
Use the deterministic global seed for QHash to reduce variations
between reruns.

Task-number: QTBUG-131842
Change-Id: I95d13840ad1804aba064b1a7e5dada45f4032d1d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2024-12-04 23:57:12 +01:00
..
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2024-12-04 23:57:08 +01:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2024-12-04 23:57:08 +01:00
2024-12-04 23:57:08 +01:00
2022-05-16 16:37:38 +02:00
2022-05-16 16:37:38 +02:00
2024-11-05 14:36:16 +01:00
2022-05-16 16:37:38 +02: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@qt.io>