|
@@ -149,7 +149,7 @@ implementation
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
index:=0;
|
|
index:=0;
|
|
- consume(_INTCONST);
|
|
|
|
|
|
+ message(type_e_ordinal_expr_expected);
|
|
end;
|
|
end;
|
|
include(options,eo_index);
|
|
include(options,eo_index);
|
|
pt.free;
|
|
pt.free;
|
|
@@ -166,7 +166,7 @@ implementation
|
|
else if is_constcharnode(pt) then
|
|
else if is_constcharnode(pt) then
|
|
hpname:=chr(tordconstnode(pt).value.svalue and $ff)
|
|
hpname:=chr(tordconstnode(pt).value.svalue and $ff)
|
|
else
|
|
else
|
|
- consume(_CSTRING);
|
|
|
|
|
|
+ message(type_e_string_expr_expected);
|
|
include(options,eo_name);
|
|
include(options,eo_name);
|
|
pt.free;
|
|
pt.free;
|
|
DefString:=hpname+'='+InternalProcName;
|
|
DefString:=hpname+'='+InternalProcName;
|