vala r880 - in trunk: . vala



Author: juergbi
Date: Tue Jan 22 09:39:42 2008
New Revision: 880
URL: http://svn.gnome.org/viewvc/vala?rev=880&view=rev

Log:
2008-01-22  Juerg Billeter  <j bitron ch>

	* vala/scanner.l: fix nullable types for local variables


Modified:
   trunk/ChangeLog
   trunk/vala/scanner.l

Modified: trunk/vala/scanner.l
==============================================================================
--- trunk/vala/scanner.l	(original)
+++ trunk/vala/scanner.l	Tue Jan 22 09:39:42 2008
@@ -90,7 +90,7 @@
 ","		{ uploc; return COMMA; }
 ";"		{ uploc; return SEMICOLON; }
 "#"		{ uploc; return HASH; }
-"?"{space}({ident}("="|";")|"[")	{ yyless (1); uploc; return NULLABLE_INTERR; }
+"?"{space}({ident}{space}("="|";")|"[")	{ yyless (1); uploc; return NULLABLE_INTERR; }
 "?"		{ uploc; return INTERR; }
 
 "|="		{ uploc; return ASSIGN_BITWISE_OR; }



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