MCPcopy Create free account
hub / github.com/coronalabs/corona / reservedErrorCheck

Method reservedErrorCheck

external/Angle/Project/src/compiler/ParseHelper.cpp:432–461  ·  view source on GitHub ↗

For now, keep it simple: if it starts "gl_", it's reserved, independent of scope. Except, if the symbol table is at the built-in push-level, which is when we are parsing built-ins. Also checks for "webgl_" and "_webgl_" reserved identifiers if parsing a webgl shader. Returns true if there was an error.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

glslang_tab.cppFile · 0.80

Calls 5

isWebGLBasedSpecFunction · 0.85
atBuiltInLevelMethod · 0.80
errorFunction · 0.50
findMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected