Explorar el Código

* better suitable error message for out of range constants

git-svn-id: trunk@38290 -
florian hace 7 años
padre
commit
90051fd7d2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/avr/raavr.pas

+ 1 - 1
compiler/avr/raavr.pas

@@ -367,7 +367,7 @@ unit raavr;
                           // Need to check if original value was signed or simply sign overflowed in 16 bit?
                           if ((taicpu(Result).oper[i]^.val > AVRInstrConstraint[opcode].Operands[i].max) or
                               (taicpu(Result).oper[i]^.val < AVRInstrConstraint[opcode].Operands[i].min)) then
-                            Message(cg_e_parasize_too_big);
+                            Message(asmr_e_constant_out_of_bounds);
                         end;
                   end;
               end;