Changeset 15 for branches/Void/UCompilator.pas
- Timestamp:
- Nov 10, 2009, 9:11:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Void/UCompilator.pas
r14 r15 150 150 with TCommand(Commands[Commands.Add(TCommand.Create)]) do begin 151 151 Name := CommandName; 152 Parser.ParseNextToken;153 152 if Command.Parameters.Count > 0 then begin 153 Parser.ParseNextToken; 154 154 if (Parser.TokenType = ttSymbol) and (Parser.TokenValue = '(') then begin 155 155 Parser.ParseNextToken; … … 227 227 end; 228 228 Parser.ParseNextToken; 229 if (Parser.TokenType <> ttSymbol) and (Parser.TokenValue = ';') then 230 DoError('Expected ;'); 231 Parser.ParseNextToken; 229 232 if Parser.TokenType <> ttWhiteSpace then DoError('Expected white space'); 230 233 end else DoError('Expected identifier');
Note:
See TracChangeset
for help on using the changeset viewer.