Bug 799147 - Parser for C files fails
Summary: Parser for C files fails
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: geany
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-01 21:26 UTC by Raphael Groner
Modified: 2012-03-04 17:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-04 17:20:27 UTC
Type: ---


Attachments (Terms of Use)
sample source (28.90 KB, text/x-csrc)
2012-03-01 21:26 UTC, Raphael Groner
no flags Details

Description Raphael Groner 2012-03-01 21:26:43 UTC
Created attachment 566951 [details]
sample source

Description of problem:
My C file is not parsed properly. Colouring stops in the middle of source.

Version-Release number of selected component (if applicable):
geany-0.21-3.fc16.x86_64

How reproducible:
yes

Steps to Reproduce:
1. open attached sample file in Geany activate it as a C document.
2. look at lines #762 ff.
3.
  
Actual results:
Parser stops.

Expected results:
Fully colourized file content according to C syntax.

Additional info:

Comment 1 Raphael Groner 2012-03-01 21:28:11 UTC
Upstream says that this bug does not show with git sources. It seems to be fixed somehow.

Comment 2 Dominic Hopf 2012-03-02 00:27:27 UTC
I will check if it will be possible to backport the fix from current git master.

Comment 5 Dominic Hopf 2012-03-04 17:20:27 UTC
I can confirm I do not have this issue here with a build from current Git master. There however happened way too much from the 0.21.0 tag in upstream Git until now, among other things a whole Scintilla update. I'm afraid the efforts for back-porting a fix for this issue won't be feasible compared to just wait for the next Geany release.


Note You need to log in before you can comment on or make changes to this bug.