summaryrefslogtreecommitdiffstats
path: root/util/lexgen
diff options
context:
space:
mode:
Diffstat (limited to 'util/lexgen')
-rw-r--r--util/lexgen/configfile.h1
-rw-r--r--util/lexgen/css3-simplified.lexgen (renamed from util/lexgen/css2-simplified.lexgen)6
2 files changed, 6 insertions, 1 deletions
diff --git a/util/lexgen/configfile.h b/util/lexgen/configfile.h
index 1bba26e980..da891ea836 100644
--- a/util/lexgen/configfile.h
+++ b/util/lexgen/configfile.h
@@ -31,6 +31,7 @@
#include <QStringList>
#include <QMap>
#include <QVector>
+#include <QIODevice>
struct ConfigFile
{
diff --git a/util/lexgen/css2-simplified.lexgen b/util/lexgen/css3-simplified.lexgen
index 53facb1d4a..99463d524e 100644
--- a/util/lexgen/css2-simplified.lexgen
+++ b/util/lexgen/css3-simplified.lexgen
@@ -5,7 +5,7 @@ classname = QCssScanner_Generated
[Code Generator Options]
MapToCode[a-z] = (ch.unicode() >= 'a' && ch.unicode() <= 'z') || (ch.unicode() >= 'A' && ch.unicode() <= 'Z') || ch.unicode() >= 256
TokenPrefix = QCss::
-FileHeader = ../moc/licenseheader.txt
+FileHeader = ../../src/tools/moc/util/licenseheader.txt
[Macros]
escape = \\[^\r\n\f0-9a-f]
@@ -36,11 +36,15 @@ CDO = "<!--"
CDC = "-->"
INCLUDES = "~="
DASHMATCH = "|="
+BEGINSWITH = "^="
+ENDSWITH = "$="
+CONTAINS = "*="
LBRACE = {w}"{"
PLUS = {w}"+"
GREATER = {w}">"
COMMA = {w}","
+TILDE= {w}"~"
STRING = {string}
INVALID = {invalid}