mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Bug 882037 - Fix incorrectly escaped %, and use semicolons after comma-separated lists. r=luke
This commit is contained in:
parent
773d6fa5ec
commit
718a21ec49
@ -3991,7 +3991,7 @@ CheckDivOrMod(FunctionCompiler &f, ParseNode *expr, MDefinition **def, Type *typ
|
||||
return true;
|
||||
}
|
||||
|
||||
return f.failf(expr, "arguments to / or &% must both be double, signed, or unsigned, "
|
||||
return f.failf(expr, "arguments to / or %% must both be double, signed, or unsigned; "
|
||||
"%s and %s are given", lhsType.toChars(), rhsType.toChars());
|
||||
}
|
||||
|
||||
@ -4025,7 +4025,7 @@ CheckComparison(FunctionCompiler &f, ParseNode *comp, MDefinition **def, Type *t
|
||||
return true;
|
||||
}
|
||||
|
||||
return f.failf(comp, "arguments to a comparison must both be signed, unsigned or doubles, "
|
||||
return f.failf(comp, "arguments to a comparison must both be signed, unsigned or doubles; "
|
||||
"%s and %s are given", lhsType.toChars(), rhsType.toChars());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user