Commit 1b88949
Fix unkeyed struct literals in lexer
- Add Name and Pattern field names to lexer.SimpleRule initialization
- Improves code clarity and resolves go vet warnings
- All tests passing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 02612d1 commit 1b88949
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments