Ignore:
Timestamp:
Oct 22, 2010, 3:39:58 PM (14 years ago)
Author:
george
Message:
  • Modified: Better parse righ assignment side with expression.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Compiler/Analyze/UParser.pas

    r78 r80  
    146146function TBaseParser.IsString(Text: string): Boolean;
    147147begin
    148 
     148  raise Exception.Create('Not implemented');
    149149end;
    150150
     
    267267      if FParserState = psBlockComment1First then begin
    268268        if CurrentChar = '$' then FParserState := psCompilerDirective
    269         else FParserSTate := psBlockComment1;
     269          else FParserSTate := psBlockComment1;
    270270      end else
    271271      if FParserState = psBlockComment1 then begin
     
    276276      if FParserState = psCompilerDirective then begin
    277277        if (CurrentChar = '}') then begin
    278           FParserState := psNone;
     278          FParserState := psNoneShift;
    279279          FNextTokenType := ttCompilerDirective;
    280           Break;
    281         end;
     280          FNextToken := '';
     281          //Break;
     282        end else FNextToken := FNextToken + CurrentChar;
    282283      end else
    283284      if FParserState = psBlockComment2 then begin
Note: See TracChangeset for help on using the changeset viewer.