Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Structure Pane/Error Insight    [ Add a report in this area ]  
Report #:  101167   Status: Closed
String expressions parser broken
Project:  Delphi Build #:  16.0.4316.44803
Version:    16.2 Submitted By:   Dmitry Burov
Report Type:  Minor failure / Design problem Date Reported:  11/20/2011 10:34:02 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   288928
Resolution: Duplicate (Resolution Comments) Resolved in Build: : 16.0.4256.43595
Duplicate of:  14942
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
see how this code is shows in "structure" panel

It shows error that does not exist

---
    Writeln( ^M^J'bla-bla-bla'^M^J +  ^M^J );
---
Steps to Reproduce:
program Project1;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

begin
  try
    Writeln( #13#10'bla-bla-bla'#13#10 + #13#10 );
    Writeln( ^M^J'bla-bla-bla'^M^J +  ^M^J );

    // Those two statements should be treated identically
    // Both in highlighter, error insight and other editor features

  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.
Workarounds
None
Attachment
bug.zip
Comments

Tomohiro Takahashi at 11/20/2011 4:44:37 PM -
Is your issue same as QC#65411, QC#82713 etc...?

Dmitry Burov at 11/22/2011 2:10:56 AM -
yes, seems so.

Date Reported:  8/5/2005
Report #:  14942  

Wow, Embarcadero is really lightning-fast...

Server Response from: ETNACODE01