mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
* Better operator as identifier mechanism
git-svn-id: trunk@36701 -
This commit is contained in:
parent
68414a358c
commit
31bc025d08
@ -1119,6 +1119,7 @@ end;
|
||||
procedure TTestScanner.TestOperator;
|
||||
|
||||
begin
|
||||
Scanner.SetTokenOption(toOperatorToken);
|
||||
TestToken(tkoperator,'operator');
|
||||
end;
|
||||
|
||||
@ -1728,7 +1729,7 @@ end;
|
||||
|
||||
procedure TTestScanner.TestOperatorIdentifier;
|
||||
begin
|
||||
Scanner.PushNonToken(tkoperator);
|
||||
Scanner.SetNonToken(tkoperator);
|
||||
TestToken(tkidentifier,'operator',True);
|
||||
end;
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<CommandLineParams Value="--suite=TTestRecordTypeParser.TestOperatorField"/>
|
||||
<CommandLineParams Value="--suite=TTestProcedureFunction.TestOperatorTokens"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="1">
|
||||
|
Loading…
Reference in New Issue
Block a user