Commit 6bdea814 authored by Raffaele Sandrini's avatar Raffaele Sandrini Committed by Raffaele Sandrini

allow '\0' escape sequences

2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>

	* vala/scanner.l: allow '\0' escape sequences

svn path=/trunk/; revision=364
parent a276f750
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/scanner.l: allow '\0' escape sequences
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasourcefile.vala: do not add includes to oneself
......
......@@ -52,7 +52,7 @@ integer_suffix L|LL|U|UL|ULL
real_suffix F
single_character [^\'\\]
single_string_literal_character [^\"\\]
simple_escape_sequence \\[\'\"\?\\abfnrtv]
simple_escape_sequence \\[\'\"\?\\abfnrtv0]
hexadecimal_escape_sequence \\x{hex_digit}{hex_digit}?{hex_digit}?{hex_digit}?
character ({single_character}|{simple_escape_sequence})
string_literal_character ({single_string_literal_character}|{simple_escape_sequence})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment