diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-23 06:23:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-23 06:23:57 +0000 |
commit | 35abbf518ff83d9bfe882ec9c9bc8b990b07b9a3 (patch) | |
tree | 6bd17aab12275dda23fa3e99b1bf4f0750c2bb02 /docs/tutorial/LangImpl2.html | |
parent | bad82d8c94202f03bbc127a685d423396afd8a63 (diff) | |
download | external_llvm-35abbf518ff83d9bfe882ec9c9bc8b990b07b9a3.zip external_llvm-35abbf518ff83d9bfe882ec9c9bc8b990b07b9a3.tar.gz external_llvm-35abbf518ff83d9bfe882ec9c9bc8b990b07b9a3.tar.bz2 |
complete the codegen chapter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl2.html')
-rw-r--r-- | docs/tutorial/LangImpl2.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/tutorial/LangImpl2.html b/docs/tutorial/LangImpl2.html index 510c937..d707e32 100644 --- a/docs/tutorial/LangImpl2.html +++ b/docs/tutorial/LangImpl2.html @@ -738,17 +738,17 @@ example, here is a sample interaction:</p> <div class="doc_code"> <pre> $ ./a.out -ready> def foo(x y) x+foo(y, 4.0); -ready> Parsed an function definition. -ready> def foo(x y) x+y y; -ready> Parsed an function definition. -ready> Parsed a top-level expr -ready> def foo(x y) x+y ); -ready> Parsed an function definition. -ready> Error: unknown token when expecting an expression -ready> extern sin(a); -ready> Parsed an extern -ready> ^D +ready> def foo(x y) x+foo(y, 4.0); +ready> Parsed an function definition. +ready> def foo(x y) x+y y; +ready> Parsed an function definition. +ready> Parsed a top-level expr +ready> def foo(x y) x+y ); +ready> Parsed an function definition. +ready> Error: unknown token when expecting an expression +ready> extern sin(a); +ready> Parsed an extern +ready> ^D $ </pre> </div> |