Bug 799147

Summary: Parser for C files fails
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: geanyAssignee: Dominic Hopf <dmaphy>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dmaphy, fdc, jonathan.underwood, josef
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-04 17:20:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
sample source none

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.