Added Gnulib intprops module.
[portablexdr.git] / rpcgen_scan.l
index 4ab278d..1a78235 100644 (file)
@@ -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;
   }
@@ -134,6 +134,7 @@ char       return CHAR;
 short      return SHORT;
 int        return INT;
 hyper      return HYPER;
+float      return FLOAT;
 double     return DOUBLE;
 string     return STRING;
 opaque     return OPAQUE;