summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/parser/gen-parser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmljs/parser/gen-parser.sh')
-rwxr-xr-xsrc/libs/qmljs/parser/gen-parser.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/qmljs/parser/gen-parser.sh b/src/libs/qmljs/parser/gen-parser.sh
index 1a755052e9..e6fdadf675 100755
--- a/src/libs/qmljs/parser/gen-parser.sh
+++ b/src/libs/qmljs/parser/gen-parser.sh
@@ -1,5 +1,15 @@
#!/bin/bash
+# This is the script that generates the copy of the QmlJS parser from the sources
+# in the qtdeclarative source tree.
+#
+# It applies a bunch of renames to make the source compatible with the Qt Creator
+# sources as well as rewrites of the licenses.
+#
+# Example:
+# cd src/libs/qmljs/parser
+# QTDIR=~/path/to/qtdeclarative-checkout ./gen-parser.sh
+
me=$(dirname $0)
for i in $QTDIR/src/qml/qml/parser/*.{g,h,cpp,pri}; do