benoitsan / BBUncrustifyPlugin-Xcode

Xcode plugin to format source code using ClangFormat or Uncrustify
MIT License
1.19k stars 150 forks source link

Unwanted spaces around preprocessor stringification operator #72

Closed entonio closed 10 years ago

entonio commented 10 years ago

Hi, I've noticed that

define WEAK_VAR(name) \

__unsafe_unretained typeof(self) w##name = name

is turned into

define WEAK_VAR(name) \

__unsafe_unretained typeof(self) w ## name = name

in an ObjC header file.

benoitsan commented 10 years ago

It's not an issue related to the plugin itself. You should look at the documention of uncrustify or clang-format.

entonio commented 10 years ago

Sorry, embarrassing mistake!