diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-02 12:54:03 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-12-02 12:55:03 +1000 |
commit | 130f8e74116b115726ef7e07952efe23766dce18 (patch) | |
tree | 51796a26631e07fe7ef55d8c721656c4656f47ec /src/libs/glsl/glsllexer.h | |
parent | 22db6cd7098d1fbbec1c6dbce0149f328b16a5d5 (diff) | |
download | qt-creator-130f8e74116b115726ef7e07952efe23766dce18.tar.gz |
Populate keyword list from GLSL language variant
Diffstat (limited to 'src/libs/glsl/glsllexer.h')
-rw-r--r-- | src/libs/glsl/glsllexer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/glsl/glsllexer.h b/src/libs/glsl/glsllexer.h index d56d8cebb6..ebb3dd3528 100644 --- a/src/libs/glsl/glsllexer.h +++ b/src/libs/glsl/glsllexer.h @@ -32,6 +32,7 @@ #include "glsl.h" #include <QtCore/qstring.h> +#include <QtCore/qstringlist.h> namespace GLSL { @@ -106,6 +107,8 @@ public: void *yyval() const { return _yyval.ptr; } + static QStringList keywords(int variant); + private: static int classify(const char *s, int len); |