From 9b2f7773acbb1a691fc2c29d80ab79cffa19ee88 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 5 Nov 2007 17:54:34 +0000 Subject: spell identifier correctly. llvm-svn: 43718 --- llvm/docs/tutorial/LangImpl2.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'llvm/docs/tutorial/LangImpl2.html') diff --git a/llvm/docs/tutorial/LangImpl2.html b/llvm/docs/tutorial/LangImpl2.html index 50eed963f6b..edf19a8b483 100644 --- a/llvm/docs/tutorial/LangImpl2.html +++ b/llvm/docs/tutorial/LangImpl2.html @@ -294,12 +294,12 @@ calls:

 /// 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);
-- 
cgit v1.2.3