Changeset 2120 for trunk/tools/vslol/CppKeywordClassifier.cs
- Timestamp:
- Nov 29, 2012, 1:54:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vslol/CppKeywordClassifier.cs
r2119 r2120 56 56 57 57 string tmp = @"\b("; 58 tmp += "void| int|unsigned|char|short|long|float|double|";59 tmp += "class|struct| template|const|static|volatile|inline|namespace|";58 tmp += "void|bool|int|unsigned|char|short|long|float|double|ldouble|"; 59 tmp += "class|struct|union|template|const|static|extern|volatile|inline|namespace|"; 60 60 if (type.IsOfType("lolfx")) 61 61 tmp += "attribute|varying|uniform|in|out|"; … … 63 63 tmp += "var|string|internal|sealed|public|private|"; 64 64 if (!type.IsOfType("csharp")) 65 tmp += " vec2|vec3|vec4|quat|mat2|mat3|mat4|";65 tmp += "(f(16|128)||d|[ui](8|16||64)|r)(vec[234]|mat[234]|quat|cmplx)|"; 66 66 if (type.IsOfType("c/c++")) 67 tmp += "real|half|"; 67 { 68 tmp += "u?int(8|16|32|64|ptr)_t|"; 69 tmp += "real|half|explicit|typename|typedef|"; 70 } 68 71 tmp += @")\b"; 69 72 m_regex = new Regex(tmp);
Note: See TracChangeset
for help on using the changeset viewer.