Browse Source

[SCSI] aic7xxx: Fix firmware build

If a prefix is selected for flex, we should be using it everywhere.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Hannes Reinecke 17 years ago
parent
commit
fc2adcfd37
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l

+ 2 - 1
drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l

@@ -66,6 +66,7 @@ static char string_buf[MAX_STR_CONST];
 static char *string_buf_ptr;
 static int  parren_count;
 static char buf[255];
+int  mmlineno;
 %}
 
 WORD		[A-Za-z_][-A-Za-z_0-9]*
@@ -76,7 +77,7 @@ MCARG		[^(), \t]+
 
 %%
 \n			{
-				++yylineno;
+				++mmlineno;
 			}
 \r			;
 <ARGLIST>{SPACE}	;