forked from OSchip/llvm-project
Fix a typo in the error message for an incorrect prototype.
Summary: Cut & paste error had the error message mentionning "}" rather than ")". Differential Revision: https://reviews.llvm.org/D77625
This commit is contained in:
parent
cfc002714a
commit
9b1a0d300e
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -428,7 +428,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
|
@ -583,7 +583,7 @@ private:
|
|||
} while (true);
|
||||
}
|
||||
if (lexer.getCurToken() != ')')
|
||||
return parseError<PrototypeAST>("}", "to end function prototype");
|
||||
return parseError<PrototypeAST>(")", "to end function prototype");
|
||||
|
||||
// success.
|
||||
lexer.consume(Token(')'));
|
||||
|
|
Loading…
Reference in New Issue