diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-04-14 16:44:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-04-14 16:44:41 +0000 |
| commit | 4026a3404ef92e0da2113244a7106c83d2250626 (patch) | |
| tree | c4eeb54d5c3afb45e7c675f9cf6b1b9cc0e91224 /docs/tutorial/LangImpl2.html | |
| parent | 9f7fa0c06170423b494a3d19d425efb2c47b5712 (diff) | |
| download | external_llvm-4026a3404ef92e0da2113244a7106c83d2250626.zip external_llvm-4026a3404ef92e0da2113244a7106c83d2250626.tar.gz external_llvm-4026a3404ef92e0da2113244a7106c83d2250626.tar.bz2 | |
improve diagnostics in call parsing, patch suggested by
Matthijs Kooijman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl2.html')
| -rw-r--r-- | docs/tutorial/LangImpl2.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/LangImpl2.html b/docs/tutorial/LangImpl2.html index 50619e0..018d0be 100644 --- a/docs/tutorial/LangImpl2.html +++ b/docs/tutorial/LangImpl2.html @@ -337,7 +337,7 @@ static ExprAST *ParseIdentifierExpr() { if (CurTok == ')') break; if (CurTok != ',') - return Error("Expected ')'"); + return Error("Expected ')' or ',' in argument list"); getNextToken(); } } @@ -1007,7 +1007,7 @@ static ExprAST *ParseIdentifierExpr() { if (CurTok == ')') break; if (CurTok != ',') - return Error("Expected ')'"); + return Error("Expected ')' or ',' in argument list"); getNextToken(); } } |
