Rework string literal concatenation.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 21 May 2012 05:37:23 +0000 (07:37 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 21 May 2012 06:31:14 +0000 (08:31 +0200)
commit1d7c78c1215d6911493c3e8f12859061b0ff411c
treedda7b57ac08a48753f02431af2b869027e2c559c
parent8fdc6bb33f558b7d93510c1792ec07c29a0433d5
Rework string literal concatenation.

- Now it is linear in the number of strings instead of quadratic.
- "" L"" "" incorrectly resulted in a normal string.
- When a plain string is expected, produce a better error message if a wide string is encountered.
lexer.c
lexer.h
parser.c