gdamore / tree-sitter-d

D Grammar for Tree Sitter
MIT License
41 stars 7 forks source link

directive mismatch #36

Closed gdamore closed 3 months ago

gdamore commented 3 months ago

Describe the bug DEBUG!"#SECPOLICY security policy %d created (name %s)"(row.k, name);

This should not match directive, but the grammar tree indicates otherwise

Note that directive matching is done in the lexing phase, and should really only match "line" directives. No other directives are legal. And there should be nothing else on the line before it.