mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	Fixed minor bug in parsing delays
This commit is contained in:
		
							parent
							
								
									56c7d1e266
								
							
						
					
					
						commit
						76c83283c4
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -342,7 +342,10 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ { | |||
| [ \t\r\n]		/* ignore whitespaces */ | ||||
| \\[\r\n]		/* ignore continuation sequence */ | ||||
| "//"[^\r\n]*		/* ignore one-line comments */ | ||||
| "#"[$a-zA-Z_0-9\.]+	/* ignore simulation timings */ | ||||
| 
 | ||||
| "#"\ *[0-9][0-9_]*			/* ignore simulation timings */ | ||||
| "#"\ *[0-9][0-9_]*\.[0-9][0-9_]*	/* ignore simulation timings */ | ||||
| "#"\ *[$a-zA-Z_\.][$a-zA-Z_0-9\.]*	/* ignore simulation timings */ | ||||
| 
 | ||||
| . { return *yytext; } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue