Explorar el Código

+ support {$message info ...}, resolves #30654
+ test

git-svn-id: trunk@38346 -

florian hace 7 años
padre
commit
7d35ced2d9
Se han modificado 3 ficheros con 7 adiciones y 0 borrados
  1. 1 0
      .gitattributes
  2. 3 0
      compiler/scandir.pas
  3. 3 0
      tests/webtbs/tw30654.pp

+ 1 - 0
.gitattributes

@@ -15885,6 +15885,7 @@ tests/webtbs/tw30626b.pp svneol=native#text/pascal
 tests/webtbs/tw3063.pp svneol=native#text/plain
 tests/webtbs/tw30639.pp svneol=native#text/plain
 tests/webtbs/tw3064.pp svneol=native#text/plain
+tests/webtbs/tw30654.pp svneol=native#text/pascal
 tests/webtbs/tw30666.pp svneol=native#text/plain
 tests/webtbs/tw30706.pp svneol=native#text/plain
 tests/webtbs/tw3073.pp svneol=native#text/plain

+ 3 - 0
compiler/scandir.pas

@@ -912,6 +912,9 @@ unit scandir;
             else
               if (hs='NOTE') then
                 w:=scan_n_user_defined
+            else
+              if (hs='INFO') then
+                w:=scan_i_user_defined
             else
               Message1(scan_w_illegal_directive,hs);
           end;

+ 3 - 0
tests/webtbs/tw30654.pp

@@ -0,0 +1,3 @@
+{$message info 'Test'}
+begin
+end.