summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/moc/utils.h')
-rw-r--r--src/tools/moc/utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/moc/utils.h b/src/tools/moc/utils.h
index aeb9b745f1..0dfd0999f4 100644
--- a/src/tools/moc/utils.h
+++ b/src/tools/moc/utils.h
@@ -60,7 +60,7 @@ inline bool is_ident_start(char s)
{
return ((s >= 'a' && s <= 'z')
|| (s >= 'A' && s <= 'Z')
- || s == '_'
+ || s == '_' || s == '$'
);
}
@@ -69,7 +69,7 @@ inline bool is_ident_char(char s)
return ((s >= 'a' && s <= 'z')
|| (s >= 'A' && s <= 'Z')
|| (s >= '0' && s <= '9')
- || s == '_'
+ || s == '_' || s == '$'
);
}
@@ -112,10 +112,10 @@ inline const char *skipQuote(const char *data)
}
++data;
}
-
+
if (*data) //Skip last quote
++data;
- return data;
+ return data;
}
QT_END_NAMESPACE