diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-17 14:50:07 +0100 | 
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-17 14:50:07 +0100 | 
| commit | b091d8b4f34efe653b10bf681df6491ddb993527 (patch) | |
| tree | b1edcaf5055b5a97e9d8c280fb83c590a6645f19 /src/interface-curses/curses-utils.cpp | |
| parent | 6efa2ebd0e44b758740120374d63874beda7ba6a (diff) | |
The "cpp" lexer configuration has been split into "c.tes" and "cpp.tes"
 * The keyword list is too different in C when compared to C++.
   The many additional keywords are annoying when editing plain C
   files.
 * Underscored C99 and C11 keywords (like _Bool) have been added
   to the "c.tes" lexer configuration.
   The C++ language does not contain these keywords.
   However, C has stdbool.h to define bool which is part of standard C++.
 * Therefore a macro "lexer.c.basekeywords" has been defined for
   all languages __directly__ derived (more or less supersets) of C.
   It contains most of the C99/C11 standard header shortcuts.
 * Objective C lexing is set up by c.tes since Objective C is
   a relatively strict superset of C.
   All Objective C keywords are handled by c.tes.
   Since they begin with "@", this should not cause problems when
   editing plain C files.
Diffstat (limited to 'src/interface-curses/curses-utils.cpp')
0 files changed, 0 insertions, 0 deletions
