diff options
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 510c9377e2..d707e328fd 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> |