skip whitespaces in lex
This commit is contained in:
		
							parent
							
								
									4cceb73db6
								
							
						
					
					
						commit
						e4be084b0e
					
				|  | @ -14,6 +14,7 @@ struct parser_control { | |||
| 
 | ||||
| %% | ||||
| 
 | ||||
| [ \t\n\r]	/* skip whitespace */ | ||||
| "("	return tLPAREN; | ||||
| ")"	return tRPAREN; | ||||
| [1-9][0-9]*	{ yylval.datum = pic_int_value(atoi(yytext)); return tINT; } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Yuichi Nishiwaki
						Yuichi Nishiwaki