Changeset 80 for branches/Transpascal/Compiler/Analyze/UParser.pas
- Timestamp:
- Oct 22, 2010, 3:39:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Compiler/Analyze/UParser.pas
r78 r80 146 146 function TBaseParser.IsString(Text: string): Boolean; 147 147 begin 148 148 raise Exception.Create('Not implemented'); 149 149 end; 150 150 … … 267 267 if FParserState = psBlockComment1First then begin 268 268 if CurrentChar = '$' then FParserState := psCompilerDirective 269 else FParserSTate := psBlockComment1;269 else FParserSTate := psBlockComment1; 270 270 end else 271 271 if FParserState = psBlockComment1 then begin … … 276 276 if FParserState = psCompilerDirective then begin 277 277 if (CurrentChar = '}') then begin 278 FParserState := psNone ;278 FParserState := psNoneShift; 279 279 FNextTokenType := ttCompilerDirective; 280 Break; 281 end; 280 FNextToken := ''; 281 //Break; 282 end else FNextToken := FNextToken + CurrentChar; 282 283 end else 283 284 if FParserState = psBlockComment2 then begin
Note:
See TracChangeset
for help on using the changeset viewer.