diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-22 17:09:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-22 17:09:39 +0000 |
commit | 5ea8ef8985d5e607ff29b171d7e69359a2009a9d (patch) | |
tree | be5350a83eba4381c4b8db486db062f147045065 /docs/tutorial | |
parent | 602d1c51e055efd56b284a2ba41083ff38c337bc (diff) | |
download | external_llvm-5ea8ef8985d5e607ff29b171d7e69359a2009a9d.zip external_llvm-5ea8ef8985d5e607ff29b171d7e69359a2009a9d.tar.gz external_llvm-5ea8ef8985d5e607ff29b171d7e69359a2009a9d.tar.bz2 |
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
Diffstat (limited to 'docs/tutorial')
-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 b7f968b..50619e0 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; |