Bug 203899

Summary: [C syntax coloring] Local variable returning macro breaks syntax coloring.
Product: [Fedora] Fedora Reporter: Gilboa Davara <gilboad>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-24 13:08:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample header file. none

Description Gilboa Davara 2006-08-24 11:33:56 UTC
Description of problem:
Both vim6.x and vim7 seem to generate invalid syntax coloring once a
local value returning macro is used.(E.g. #define XXX(X) ({ int __x = X;
__x; }) )
Please view the attached header file.

Version-Release number of selected component (if applicable):
vim-enhanced-7.0.042-0.fc5.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Open attached header file.
2.
3.
  
Actual results:
Invalid syntax coloring post macro definition.

Expected results:
Valid syntax (and match brace checking) post macro definition.

Additional info:
Also reported upstream to vim
No BZ number. (Do they have BZ?)

Comment 1 Gilboa Davara 2006-08-24 11:33:58 UTC
Created attachment 134800 [details]
Sample header file.

Comment 2 Karsten Hopp 2006-08-24 13:08:37 UTC

*** This bug has been marked as a duplicate of 203577 ***

Comment 3 Gilboa Davara 2006-08-24 13:41:48 UTC
I should really improve my search skills :(