Преглед на файлове

* patch by Rika to fix position reporting in macro redefintions, resolves #40082

florian преди 10 месеца
родител
ревизия
f2d44148fb
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      compiler/scanner.pas

+ 1 - 0
compiler/scanner.pas

@@ -2564,6 +2564,7 @@ type
         else
           begin
             mac.defined:=true;
+            mac.fileinfo:=current_tokenpos;
             mac.is_compiler_var:=false;
           { delete old definition }
             mac.free_buftext;