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 | a02ab559a1300db2c262b59cbc8e5297735b3b06 (patch) | |
| tree | 0a8586903ff27c7dc63a93205933d1ff4f471e5b /llvm/docs/tutorial/LangImpl2.html | |
| parent | b5d890490903db090c8c8ba643b14f7fa253f792 (diff) | |
| download | bcm5719-llvm-a02ab559a1300db2c262b59cbc8e5297735b3b06.tar.gz bcm5719-llvm-a02ab559a1300db2c262b59cbc8e5297735b3b06.zip | |
complete the codegen chapter
llvm-svn: 43245
Diffstat (limited to 'llvm/docs/tutorial/LangImpl2.html')
| -rw-r--r-- | llvm/docs/tutorial/LangImpl2.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/docs/tutorial/LangImpl2.html b/llvm/docs/tutorial/LangImpl2.html index 510c9377e2e..d707e328fd9 100644 --- a/llvm/docs/tutorial/LangImpl2.html +++ b/llvm/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> |

