Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329416

Summary: Syntax highlighting problem in string literal concatanation
Product: [Tools] CDT Reporter: Jens Elmenthaler <jens.elmenthaler>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***