Home | History | Annotate | Download | only in compiler

Lines Matching refs:lexAfterType

143 "float"        { context->lexAfterType = true; return(FLOAT_TYPE); }
144 "int" { context->lexAfterType = true; return(INT_TYPE); }
146 "void" { context->lexAfterType = true; return(VOID_TYPE); }
147 "bool" { context->lexAfterType = true; return(BOOL_TYPE); }
154 "mat2" { context->lexAfterType = true; return(MATRIX2); }
155 "mat3" { context->lexAfterType = true; return(MATRIX3); }
156 "mat4" { context->lexAfterType = true; return(MATRIX4); }
169 "vec2" { context->lexAfterType = true; return (VEC2); }
170 "vec3" { context->lexAfterType = true; return (VEC3); }
171 "vec4" { context->lexAfterType = true; return (VEC4); }
172 "ivec2" { context->lexAfterType = true; return (IVEC2); }
173 "ivec3" { context->lexAfterType = true; return (IVEC3); }
174 "ivec4" { context->lexAfterType = true; return (IVEC4); }
178 "bvec2" { context->lexAfterType = true; return (BVEC2); }
179 "bvec3" { context->lexAfterType = true; return (BVEC3); }
180 "bvec4" { context->lexAfterType = true; return (BVEC4); }
182 "sampler2D" { context->lexAfterType = true; return SAMPLER2D; }
183 "samplerCube" { context->lexAfterType = true; return SAMPLERCUBE; }
184 "samplerExternalOES" { context->lexAfterType = true; return SAMPLER_EXTERNAL_OES; }
185 "sampler3D" { context->lexAfterType = true; return SAMPLER3D; }
200 "struct" { context->lexAfterType = true; return(STRUCT); }
377 ";" { context->lexAfterType = false; return(SEMICOLON); }
378 ("{"|"<%") { context->lexAfterType = false; return(LEFT_BRACE); }
380 "," { if (context->inTypeParen) context->lexAfterType = false; return(COMMA); }
382 "=" { context->lexAfterType = false; return(EQUAL); }
383 "(" { context->lexAfterType = false; context->inTypeParen = true; return(LEFT_PAREN); }
436 if (yyextra->lexAfterType == false && symbol && symbol->isVariable()) {
439 yyextra->lexAfterType = true;