git-svn-id: trunk@36226 -
@@ -2317,7 +2317,7 @@ begin
NextToken;
end;
//Writeln('Bin ',NotBinary ,' or EOE ',isEndOfExp, ' Ex ',Assigned(x),' stack ',ExpStack.Count);
- until NotBinary or isEndOfExp(AllowEqual);
+ until NotBinary or isEndOfExp(AllowEqual, NotBinary);
if not NotBinary then ParseExcExpectedIdentifier;
@@ -120,6 +120,7 @@ Type
procedure FinalizationNoSemicolon;
procedure MacroComment;
Procedure PLatformIdentifier;
+ Procedure PLatformIdentifier2;
Procedure Onidentifier;
@@ -1738,6 +1739,12 @@ begin
ParseModule;
+procedure TTestStatementParser.PLatformIdentifier2;
+begin
+ AddStatements(['write(libs+platform);']);
+ ParseModule;
+end;
+
procedure TTestStatementParser.Onidentifier;
begin
Source.Add('function TryOn(const on: boolean): boolean;');