Files
engine/tests
chenmo.gl 5b7f8ae374 test(shader-lab): add regression for #define NAME /* comment */ value
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.
2026-04-24 18:56:54 +08:00
..
2026-04-21 11:22:09 +08:00