Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329416 - Syntax highlighting problem in string literal concatanation
Summary: Syntax highlighting problem in string literal concatanation
Status: CLOSED DUPLICATE of bug 329196
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 04:29 EDT by Jens Elmenthaler CLA
Modified: 2010-11-04 04:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Elmenthaler CLA 2010-11-04 04:29:36 EDT
Build Identifier: HEAD

Create a source file with the following content in the C++ editor:
#include <stdio.h>
#define FORMAT_SPCFR ""

void highlight()
{
  printf("number=%"FORMAT_SPCFR"d", 0);
}

int main()
{
  return 0;
}

The syntax highlighting is broken behind FORMAT_SPCFR. If you put a space behind FORMAT_SPCFR it works again.

Reproducible: Always
Comment 1 Anton Leherbauer CLA 2010-11-04 04:36:47 EDT

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