mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 09:28:19 +02:00
* Resolved conflict with none in TStringSplitoptions
git-svn-id: trunk@32264 -
This commit is contained in:
parent
4a32135563
commit
b86ef67a54
@ -77,7 +77,7 @@ type
|
||||
SymTable = array [1..max_keys] of record
|
||||
pname : StrPtr;
|
||||
(* print name; empty entries are denoted by pname=nil *)
|
||||
case sym_type : ( none, macro_sym, start_state_sym ) of
|
||||
case sym_type : ( none_sym, macro_sym, start_state_sym ) of
|
||||
macro_sym : ( subst : StrPtr );
|
||||
(* macro substitution *)
|
||||
start_state_sym : ( start_state : Integer );
|
||||
@ -212,7 +212,7 @@ procedure entry(k : Integer; symbol : String);
|
||||
with sym_table^[k] do
|
||||
begin
|
||||
pname := newStr(symbol);
|
||||
sym_type := none;
|
||||
sym_type := none_sym;
|
||||
end
|
||||
end(*entry*);
|
||||
|
||||
|
@ -96,7 +96,7 @@ procedure define_start_state ( symbol : String; pos : Integer );
|
||||
{$else}
|
||||
with sym_table^[key(symbol, max_keys, lookup, entry)] do
|
||||
{$endif}
|
||||
if sym_type=none then
|
||||
if sym_type=none_sym then
|
||||
begin
|
||||
inc(n_start_states);
|
||||
if n_start_states>max_start_states then
|
||||
@ -119,7 +119,7 @@ procedure define_macro ( symbol, replacement : String );
|
||||
{$else}
|
||||
with sym_table^[key('{'+symbol+'}', max_keys, lookup, entry)] do
|
||||
{$endif}
|
||||
if sym_type=none then
|
||||
if sym_type=none_sym then
|
||||
begin
|
||||
sym_type := macro_sym;
|
||||
subst := newStr(strip(replacement));
|
||||
|
Loading…
Reference in New Issue
Block a user