2008-02-03 Juerg Billeter <j@bitron.ch>
* vala/scanner.l: accept carriage returns in source files
svn path=/trunk/; revision=956
+2008-02-03 Jürg Billeter <j@bitron.ch>
+
+ * vala/scanner.l: accept carriage returns in source files
+
2008-02-02 Jürg Billeter <j@bitron.ch>
* vala/valaproperty.vala: add missing return statement
{ident} { uploc; yylval->str = g_strdup (yytext); return IDENTIFIER; }
-[ \t]+ { uploc; /* eat up whitespace */ }
+[ \t\r]+ { uploc; /* eat up whitespace */ }
[\n]+ { yylloc->first_line = yylloc->last_line = yylineno; yylloc->first_column = 1; yylloc->last_column = 0; }
. { uploc; fprintf (stderr, "%d: syntax error: unexpected character ´%s´\n", yylloc->first_line, yytext); }