Changes in directory llvm/docs:
LangRef.html updated: 1.153 -> 1.154 --- Log message: Decribe the "implementation" keyword. --- Diffs of the changes: (+11 -1) LangRef.html | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletion(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.153 llvm/docs/LangRef.html:1.154 --- llvm/docs/LangRef.html:1.153 Fri May 19 16:15:36 2006 +++ llvm/docs/LangRef.html Mon Jun 12 22:05:47 2006 @@ -350,6 +350,9 @@ <i>; External declaration of the puts function</i> <a href="#functionstructure">declare</a> int %puts(sbyte*) <i>; int(sbyte*)* </i> +<i>; Global variable / Function body section separator</i> +implementation + <i>; Definition of main function</i> int %main() { <i>; int()* </i> <i>; Convert [13x sbyte]* to sbyte *...</i> @@ -373,6 +376,13 @@ array of char, and a pointer to a function), and have one of the following <a href="#linkage">linkage types</a>.</p> +<p>Due to a limitation in the current LLVM assembly parser (it is limited by +one-token lookahead), modules are split into two pieces by the "implementation" +keyword. Global variable prototypes and definitions must occur before the +keyword, and function definitions must occur after it. Function prototypes may +occur either before or after it. In the future, the implementation keyword may +become a noop, if the parser gets smarter.</p> + </div> <!-- ======================================================================= --> @@ -3830,7 +3840,7 @@ <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2006/05/19 21:15:36 $ + Last modified: $Date: 2006/06/13 03:05:47 $ </address> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits