Changeset 2127
- Timestamp:
- Dec 1, 2012, 2:36:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vslol/CppKeywordClassifier.cs
r2126 r2127 10 10 11 11 using System; 12 using System.Linq; 12 13 using System.Collections.Generic; 13 14 using System.ComponentModel.Composition; … … 63 64 private Regex m_types_regex, m_constant_regex; 64 65 65 private static conststring[] m_all_types =66 private static string[] m_all_types = 66 67 { 67 68 "void|bool|int|signed|unsigned|char|short|long|float|double", … … 71 72 }; 72 73 73 private static conststring[] m_cpp_types =74 private static string[] m_cpp_types = 74 75 { 75 76 "u?int(8|16|32|64|ptr|max)_t", … … 84 85 */ 85 86 86 private static conststring[] m_csharp_types =87 private static string[] m_csharp_types = 87 88 { 88 89 "var|string", … … 90 91 }; 91 92 92 private static conststring[] m_lolfx_types =93 private static string[] m_lolfx_types = 93 94 { 94 95 "attribute|varying|uniform|in|out", … … 97 98 }; 98 99 99 private static conststring[] m_all_constants =100 private static string[] m_all_constants = 100 101 { 101 102 "true|false" 102 103 }; 103 104 104 private static conststring[] m_cpp_constants =105 private static string[] m_cpp_constants = 105 106 { 106 107 "NULL|nullptr", … … 111 112 }; 112 113 113 private static conststring[] m_csharp_constants =114 private static string[] m_csharp_constants = 114 115 { 115 116 "null", 116 117 }; 117 118 118 private static conststring[] m_lolfx_constants =119 private static string[] m_lolfx_constants = 119 120 { 120 121 "gl_Position|gl_FragColor",
Note: See TracChangeset
for help on using the changeset viewer.