mirror of
https://github.com/galacean/engine.git
synced 2026-06-20 16:25:59 +08:00
Guards the case raised as "Warning 1" in zhuxudong's ninth-round review: a block comment between the macro name and its value must not cause the lexer's peek to misclassify the directive and route it to the AST path. Already behaves correctly after `ce0d6d08b` (flattened `_defineHasValue` made non-alpha default to legacy), but the scenario was not exercised by the existing suite. Test shader `#define HP /* comment */ highp` verifies compile-through.