From: Chris Lattner Date: Fri, 22 Feb 2008 17:09:39 +0000 (+0000) Subject: fix some bugs in tutorial, patch by Erick Tryzelaar X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5ea8ef8985d5e607ff29b171d7e69359a2009a9d;p=oota-llvm.git fix some bugs in tutorial, patch by Erick Tryzelaar git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47481 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/tutorial/LangImpl2.html b/docs/tutorial/LangImpl2.html index b7f968b0daa..50619e09550 100644 --- a/docs/tutorial/LangImpl2.html +++ b/docs/tutorial/LangImpl2.html @@ -933,7 +933,7 @@ public: /// of arguments the function takes). class PrototypeAST { std::string Name; - std::vector< Args; + std::vector<std::string> Args; public: PrototypeAST(const std::string &name, const std::vector<std::string> &args) : Name(name), Args(args) {} @@ -1132,7 +1132,7 @@ static FunctionAST *ParseDefinition() { static FunctionAST *ParseTopLevelExpr() { if (ExprAST *E = ParseExpression()) { // Make an anonymous proto. - PrototypeAST *Proto = new PrototypeAST("", std::vector<()); + PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); return new FunctionAST(Proto, E); } return 0;