Translations:Development/KDevelop-PG-Qt Introduction/189/en
A grammar file can contain multiple rulesets. A ruleset is a set of rules, as described in the previous section. It gets declared using:
%lexer "name" -> ⟨rules⟩ ;
A grammar file can contain multiple rulesets. A ruleset is a set of rules, as described in the previous section. It gets declared using:
%lexer "name" -> ⟨rules⟩ ;