glsl: Classify "layout" like other identifiers.
When "layout" isn't being lexed as LAYOUT_TOK, we should treat it like an ordinary identifier. This means we need to classify it to determine whether we should return IDENTIFIER, TYPE_IDENTIFIER, or NEW_IDENTIFIER. Fixes the WebGL conformance test "shader-with-non-reserved-words." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64087Signed-off-by: Kenneth Graunke <email@example.com> Reviewed-by: Matt Turner <firstname.lastname@example.org> Cc: email@example.com
Showing with 1 addition and 1 deletion