summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-14 16:44:41 +0000
committerChris Lattner <sabre@nondot.org>2008-04-14 16:44:41 +0000
commitf87e0521284c2882dd6ae36441ae69f6a23665c5 (patch)
treec5f8e6e99acdd0e1e96c7668b2cd42ebaa5be9f9 /llvm/docs
parent16a8a3be41494279bb3cf932e641b2e0e896a3ff (diff)
downloadbcm5719-llvm-f87e0521284c2882dd6ae36441ae69f6a23665c5.tar.gz
bcm5719-llvm-f87e0521284c2882dd6ae36441ae69f6a23665c5.zip
improve diagnostics in call parsing, patch suggested by
Matthijs Kooijman llvm-svn: 49648
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/tutorial/LangImpl2.html4
-rw-r--r--llvm/docs/tutorial/LangImpl3.html2
-rw-r--r--llvm/docs/tutorial/LangImpl4.html2
-rw-r--r--llvm/docs/tutorial/LangImpl5.html2
-rw-r--r--llvm/docs/tutorial/LangImpl6.html2
-rw-r--r--llvm/docs/tutorial/LangImpl7.html2
6 files changed, 7 insertions, 7 deletions
diff --git a/llvm/docs/tutorial/LangImpl2.html b/llvm/docs/tutorial/LangImpl2.html
index 50619e09550..018d0be7603 100644
--- a/llvm/docs/tutorial/LangImpl2.html
+++ b/llvm/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();
}
}
diff --git a/llvm/docs/tutorial/LangImpl3.html b/llvm/docs/tutorial/LangImpl3.html
index 28b9dac3524..47e178397a8 100644
--- a/llvm/docs/tutorial/LangImpl3.html
+++ b/llvm/docs/tutorial/LangImpl3.html
@@ -881,7 +881,7 @@ static ExprAST *ParseIdentifierExpr() {
if (CurTok == ')') break;
if (CurTok != ',')
- return Error("Expected ')'");
+ return Error("Expected ')' or ',' in argument list");
getNextToken();
}
}
diff --git a/llvm/docs/tutorial/LangImpl4.html b/llvm/docs/tutorial/LangImpl4.html
index 41b58c76e03..999c194bf98 100644
--- a/llvm/docs/tutorial/LangImpl4.html
+++ b/llvm/docs/tutorial/LangImpl4.html
@@ -714,7 +714,7 @@ static ExprAST *ParseIdentifierExpr() {
if (CurTok == ')') break;
if (CurTok != ',')
- return Error("Expected ')'");
+ return Error("Expected ')' or ',' in argument list");
getNextToken();
}
}
diff --git a/llvm/docs/tutorial/LangImpl5.html b/llvm/docs/tutorial/LangImpl5.html
index 8081fc3821a..ae53fd9f993 100644
--- a/llvm/docs/tutorial/LangImpl5.html
+++ b/llvm/docs/tutorial/LangImpl5.html
@@ -1137,7 +1137,7 @@ static ExprAST *ParseIdentifierExpr() {
if (CurTok == ')') break;
if (CurTok != ',')
- return Error("Expected ')'");
+ return Error("Expected ')' or ',' in argument list");
getNextToken();
}
}
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html
index 1f159e0b56d..6059ad0e599 100644
--- a/llvm/docs/tutorial/LangImpl6.html
+++ b/llvm/docs/tutorial/LangImpl6.html
@@ -1085,7 +1085,7 @@ static ExprAST *ParseIdentifierExpr() {
if (CurTok == ')') break;
if (CurTok != ',')
- return Error("Expected ')'");
+ return Error("Expected ')' or ',' in argument list");
getNextToken();
}
}
diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html
index 6d82fa9dbdc..fc8f1302ff0 100644
--- a/llvm/docs/tutorial/LangImpl7.html
+++ b/llvm/docs/tutorial/LangImpl7.html
@@ -1286,7 +1286,7 @@ static ExprAST *ParseIdentifierExpr() {
if (CurTok == ')') break;
if (CurTok != ',')
- return Error("Expected ')'");
+ return Error("Expected ')' or ',' in argument list");
getNextToken();
}
}
OpenPOWER on IntegriCloud