Explorar o código

* fix from Jeff Pohlmeyer <[email protected]> for problem with
variables/parameters called l, L, u or U

Jonas Maebe %!s(int64=22) %!d(string=hai) anos
pai
achega
c38ebece5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/h2pas/scan.l

+ 1 - 1
utils/h2pas/scan.l

@@ -443,7 +443,7 @@ D [0-9]
                           return(CSTRING)
                         else
                           return(256);
-{D}*[Uu]?[Ll]?          begin
+{D}+[Uu]?[Ll]?          begin
                            while yytext[length(yytext)] in ['L','U','l','u'] do
                              Delete(yytext,length(yytext),1);
                            return(NUMBER);