diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-19 19:45:31 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-19 19:45:31 +0100 |
commit | 9f7f187f1860047c8cb24ca34552f31bf7a2c3ce (patch) | |
tree | 769a54b6bf1cf43e30b2aaa6ce0dfa2d94921bc3 /lib/lexers/cpp.tes | |
parent | 58a395c9ad73720a6b65e7c1d2769978cc2c23c6 (diff) | |
download | sciteco-9f7f187f1860047c8cb24ca34552f31bf7a2c3ce.tar.gz |
fixed Objective C++ lexing: it is now handled by cpp.tes
* the *.mm extension is for Objective C++. Therefore cpp.tes
should be responsible.
* Objective C keywords have been added to lexer.c.basekeywords.
It does not hurt adding them to all C descendants.
Diffstat (limited to 'lib/lexers/cpp.tes')
-rw-r--r-- | lib/lexers/cpp.tes | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/lexers/cpp.tes b/lib/lexers/cpp.tes index 851e82a..699d175 100644 --- a/lib/lexers/cpp.tes +++ b/lib/lexers/cpp.tes @@ -1,6 +1,6 @@ !* - * C++ Lexing: Also used for all *.h headers since - * they cannot be distinguished. + * C++/Objective C++ Lexing: Also used for all *.h headers since + * they cannot be distinguished between C descendants. *! @[lexer.test.cpp]{ @@ -12,6 +12,7 @@ :EN*.hppQ*"S -1 ' :EN*.hxxQ*"S -1 ' :EN*.ippQ*"S -1 ' + :EN*.mmQ*"S -1 ' :EN*.smaQ* } |