[SCSI] aic7xxx: Fix firmware build
authorHannes Reinecke <hare@suse.de>
Fri, 19 Oct 2007 08:32:34 +0000 (10:32 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sun, 21 Oct 2007 16:11:39 +0000 (11:11 -0500)
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>
drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l

index f06e703..c0457b8 100644 (file)
@@ -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}       ;