Browse code

- fixed freshly introduced config ID bug

Andrei Pelinescu-Onciul authored on 10/10/2004 13:21:12
Showing 1 changed files
... ...
@@ -508,7 +508,10 @@ EAT_ABLE	[\ \t\b\r]
508 508
 
509 509
 <INITIAL>{COM_LINE}.*{CR}	{ count(); } 
510 510
 
511
-<INITIAL>{ID}			{ count(); yylval.strval=yytext; return ID; }
511
+<INITIAL>{ID}			{ count(); addstr(&s_buf, yytext, yyleng); 
512
+									yylval.strval=s_buf.s;
513
+									memset(&s_buf, 0, sizeof(s_buf));
514
+									return ID; }
512 515
 
513 516
 
514 517
 <<EOF>>							{