mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed parsing of value-less attributes in ilang
This commit is contained in:
		
							parent
							
								
									d61699843f
								
							
						
					
					
						commit
						77726fb5fe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -70,7 +70,7 @@ | |||
| "$"[^ \t\r\n]+		{ rtlil_frontend_ilang_yylval.string = strdup(yytext); return TOK_ID; } | ||||
| "."[0-9]+		{ rtlil_frontend_ilang_yylval.string = strdup(yytext); return TOK_ID; } | ||||
| 
 | ||||
| [0-9]+'[01xzm-]+	{ rtlil_frontend_ilang_yylval.string = strdup(yytext); return TOK_VALUE; } | ||||
| [0-9]+'[01xzm-]*	{ rtlil_frontend_ilang_yylval.string = strdup(yytext); return TOK_VALUE; } | ||||
| [0-9]+			{ rtlil_frontend_ilang_yylval.integer = atoi(yytext); return TOK_INT; } | ||||
| 
 | ||||
| \"		{ BEGIN(STRING); } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue