X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=rpcgen_scan.l;fp=rpcgen_scan.l;h=10ed056831d5622942d8cc30de6732f41b50c6d8;hb=454515776b24e20fd92c9259086088e05aa1b357;hp=4ab278d3e2bd3fda2f80f95e8527871b01414cec;hpb=1b9cc11ece64ac12f63e6c96e32b404b32fb0f32;p=portablexdr.git diff --git a/rpcgen_scan.l b/rpcgen_scan.l index 4ab278d..10ed056 100644 --- a/rpcgen_scan.l +++ b/rpcgen_scan.l @@ -52,7 +52,7 @@ WS [[:space:]]+ if (filename == NULL) perrorf ("malloc"); if (sscanf (yytext+2, "%d \"%[^\"]\"", &lineno, filename) == 2) { - yylineno = lineno; + yylineno = lineno-1; free (input_filename); input_filename = filename; }