hadronized / glsl

GLSL parser for Rust
191 stars 27 forks source link

Identifiers starting with underscores are not accepted #125

Closed alixinne closed 4 years ago

alixinne commented 4 years ago

Identifier::new() returns Err(IdentifierError::StartsWithDigit) when the input string starts with an underscore. However, the spec (3.7 Identifiers) says this should be allowed.

hadronized commented 4 years ago

Good catch, thanks!