Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Editor/Error Insight    [ Add a report in this area ]  
Report #:  108490   Status: Open
False reports of "$IFEND expected but $ENDIF found at line nnn (nnn:n)" when using Error insight.
Project:  Delphi Build #:  17.0.4625.53395
Version:    17.0 Submitted By:   Pieter Zijlstra
Report Type:  Minor failure / Design problem Date Reported:  9/4/2012 5:03:21 PM
Severity:    Infrequently encountered problem Last Updated: 10/2/2012 2:26:07 PM
Platform:    All versions Internal Tracking #:   32021
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 14
Description
Apparently starting with XE3 using $IFEND and $ENDIF are interchangeable, Error insight doesn't seem to be updated for this change and produces false error reports.
Steps to Reproduce:
In the IDE:

- open source\rtl\BuildWinRTL.dproj
- open Systems.pas

exp: Structure view shows no errors
act: '$IFEND' expected but '$ENDIF" found at line XXX is reported many times.
Workarounds
None
Attachment
JED157E.zip
Comments

None

Server Response from: ETNACODE01