зеркало из https://github.com/mozilla/gecko-dev.git
Bug 882037 - Fix incorrectly escaped %, and use semicolons after comma-separated lists. r=luke
This commit is contained in:
Родитель
773d6fa5ec
Коммит
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());
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче