[Vala] split strings error



        Hi!

As I see a few small problems discussed, here is another:

% cat > 1.c
static char* str = "aaa"
"bbb"
"ccc";
% cc -c 1.c

OK

% cp 1.c. 1.vala
% valac -C 1.vala
1.vala:2.1-2.5: error: syntax error, expected `;'
"bbb"
^^^^^
Compilation failed: 1 error(s), 0 warning(s)

I know verbatim strings is a workaround. But this looks like a bug to me.
Regards, Ildar
--
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]