Files
mermaid/packages
Ashish Jain dd5ac931ce fix: ANTLR parser trapezoid shape processing - major breakthrough!
 Successfully fixed lexer precedence issue for trapezoid shapes
 Implemented sophisticated TRAP_TEXT pattern matching with semantic predicates
 Fixed both lean_right [/text/] and lean_left [\text\] shapes
 Improved pass rate from 98.7% to 98.9% (937/947 tests)
 Only 7 failing tests remaining - mostly error message alignment

Technical Achievement:
- Fixed critical lexer rule ordering: TRAP_START/INVTRAP_START before SQUARE_START
- Implemented complex TRAP_TEXT pattern: (/ not followed by ] | \ not followed by ] | other chars)+
- Matches Jison behavior: \/(?!\])|\(?!\])|[^\\[\]\(\)\{\}\/]+
- Perfect semantic predicate usage: {this.inputStream.LA(1) != ']'.charCodeAt(0)}?

The ANTLR parser now handles complex trapezoid text patterns flawlessly!
2025-09-15 17:36:28 +02:00
..
2025-04-17 17:38:53 -04:00
2025-08-19 08:02:22 +00:00
2025-08-29 11:09:51 +00:00
2025-08-29 11:09:51 +00:00