summaryrefslogtreecommitdiff
path: root/docs/tutorial/LangImpl2.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-05 17:54:34 +0000
committerChris Lattner <sabre@nondot.org>2007-11-05 17:54:34 +0000
commit20a0c80f7e3bfb396c3bb7750c20e5fabf829626 (patch)
tree9ff598837fdd9cd6df9d3cf97ac39a1ebda714e7 /docs/tutorial/LangImpl2.html
parentb50196413ab9af7c815cd2d48e4ef5e3558c61b6 (diff)
downloadllvm-20a0c80f7e3bfb396c3bb7750c20e5fabf829626.tar.gz
llvm-20a0c80f7e3bfb396c3bb7750c20e5fabf829626.tar.bz2
llvm-20a0c80f7e3bfb396c3bb7750c20e5fabf829626.tar.xz
spell identifier correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl2.html')
-rw-r--r--docs/tutorial/LangImpl2.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/tutorial/LangImpl2.html b/docs/tutorial/LangImpl2.html
index 50eed963f6..edf19a8b48 100644
--- a/docs/tutorial/LangImpl2.html
+++ b/docs/tutorial/LangImpl2.html
@@ -294,12 +294,12 @@ calls:</p>
<div class="doc_code">
<pre>
/// identifierexpr
-/// ::= identifer
-/// ::= identifer '(' expression* ')'
+/// ::= identifier
+/// ::= identifier '(' expression* ')'
static ExprAST *ParseIdentifierExpr() {
std::string IdName = IdentifierStr;
- getNextToken(); // eat identifer.
+ getNextToken(); // eat identifier.
if (CurTok != '(') // Simple variable ref.
return new VariableExprAST(IdName);
@@ -954,12 +954,12 @@ FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
static ExprAST *ParseExpression();
/// identifierexpr
-/// ::= identifer
-/// ::= identifer '(' expression* ')'
+/// ::= identifier
+/// ::= identifier '(' expression* ')'
static ExprAST *ParseIdentifierExpr() {
std::string IdName = IdentifierStr;
- getNextToken(); // eat identifer.
+ getNextToken(); // eat identifier.
if (CurTok != '(') // Simple variable ref.
return new VariableExprAST(IdName);