mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Merge pull request #447 from jespersm/master
Order of string for error message confusing
This commit is contained in:
commit
4d6b014fff
@ -234,8 +234,8 @@ impl Validator {
|
||||
Def::Nonterminal(0) | Def::Terminal | Def::MacroArg => return_err!(
|
||||
symbol.span,
|
||||
"`{}` is a {}, not a macro",
|
||||
def.description(),
|
||||
msym.name
|
||||
msym.name,
|
||||
def.description()
|
||||
),
|
||||
Def::Nonterminal(arity) => {
|
||||
if arity != msym.args.len() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user