On 19 Dec 2008, at 05:13, Rob Hoelz wrote:
Yes, adjacent literal strings just get concatenated. The portable limit on the total length of the string as specified in the standard is 4095 characters (in C99). If you are generating C code with a program you can easily go past this.I believe you can do the following: char *luaCode = "function foo()\n" " print('foo')\n" "end"; Not ideal, but hey, it works.
drj