소스 검색

* 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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.