mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* fixed string length for varspez strings
git-svn-id: branches/jvmbackend@18624 -
This commit is contained in:
parent
6f2b7ca830
commit
622ac7184c
@ -223,7 +223,7 @@ Function Varspez2Str(w:longint):string;
|
||||
const
|
||||
{ in symconst unit
|
||||
tvarspez = (vs_value,vs_const,vs_var,vs_out,vs_constref); }
|
||||
varspezstr : array[tvarspez] of string[6]=('Value','Const','Var','Out','ConstRef','Final');
|
||||
varspezstr : array[tvarspez] of string[8]=('Value','Const','Var','Out','ConstRef','Final');
|
||||
begin
|
||||
if w<=ord(high(varspezstr)) then
|
||||
Varspez2Str:=varspezstr[tvarspez(w)]
|
||||
|
Loading…
Reference in New Issue
Block a user