Bug 203899 - [C syntax coloring] Local variable returning macro breaks syntax coloring.
Summary: [C syntax coloring] Local variable returning macro breaks syntax coloring.
Keywords:
Status: CLOSED DUPLICATE of bug 203577
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-24 11:33 UTC by Gilboa Davara
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-24 13:08:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sample header file. (545 bytes, text/plain)
2006-08-24 11:33 UTC, Gilboa Davara
no flags Details

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 :(


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