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 /lib/Makefile.am | |
parent | 6efa2ebd0e44b758740120374d63874beda7ba6a (diff) | |
download | sciteco-b091d8b4f34efe653b10bf681df6491ddb993527.tar.gz |
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 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 5aec511..4cbb27c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -49,6 +49,7 @@ dist_lexer_DATA = lexers/verilog.tes \ lexers/freebasic.tes \ lexers/xml.tes \ lexers/asl.tes \ + lexers/c.tes \ lexers/cpp.tes \ lexers/test.tes \ lexers/kix.tes \ |