فهرست منبع

* support LL as int number postfix

git-svn-id: trunk@13821 -
florian 16 سال پیش
والد
کامیت
48e259876b
2فایلهای تغییر یافته به همراه533 افزوده شده و 521 حذف شده
  1. 2 2
      utils/h2pas/scan.l
  2. 531 519
      utils/h2pas/scan.pas

+ 2 - 2
utils/h2pas/scan.l

@@ -616,14 +616,14 @@ D [0-9]
                         end
                         else
                           skip_until_eol;
-{D}+[Uu]?[Ll]?          if NotInCPlusBlock then
+{D}+[Uu]?[Ll]?[Ll]?     if NotInCPlusBlock then
                         begin
                            while yytext[length(yytext)] in ['L','U','l','u'] do
                              Delete(yytext,length(yytext),1);
                            return(NUMBER);
                         end
                          else skip_until_eol;
-"0x"[0-9A-Fa-f]*[Uu]?[Ll]?
+"0x"[0-9A-Fa-f]*[Uu]?[Ll]?[Ll]?
                         if NotInCPlusBlock then
                         begin
                            (* handle pre- and postfixes *)

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 531 - 519
utils/h2pas/scan.pas


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است