[gtksourceview/gnome-2-30] Add C++0x keywords. Fixes bug #618132.



commit 6de3f3dcb055e32fa6108daed23497e92c747f4b
Author: Robin Stjerndorff <sockerdrickan gmail com>
Date:   Sat May 8 22:41:36 2010 +0200

    Add C++0x keywords. Fixes bug #618132.

 gtksourceview/language-specs/cpp.lang |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/language-specs/cpp.lang b/gtksourceview/language-specs/cpp.lang
index 29f4e78..19677f1 100644
--- a/gtksourceview/language-specs/cpp.lang
+++ b/gtksourceview/language-specs/cpp.lang
@@ -47,7 +47,9 @@
                     <keyword>bitor</keyword>
                     <keyword>catch</keyword>
                     <keyword>compl</keyword>
+                    <keyword>constexpr</keyword>
                     <keyword>const_cast</keyword>
+                    <keyword>decltype</keyword>
                     <keyword>delete</keyword>
                     <keyword>dynamic_cast</keyword>
                     <keyword>false</keyword>
@@ -55,6 +57,7 @@
                     <keyword>new</keyword>
                     <keyword>not</keyword>
                     <keyword>not_eq</keyword>
+                    <keyword>nullptr</keyword>
                     <keyword>operator</keyword>
                     <keyword>or</keyword>
                     <keyword>or_eq</keyword>
@@ -62,6 +65,7 @@
                     <keyword>protected</keyword>
                     <keyword>public</keyword>
                     <keyword>reinterpret_cast</keyword>
+                    <keyword>static_assert</keyword>
                     <keyword>static_cast</keyword>
                     <keyword>this</keyword>
                     <keyword>throw</keyword>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]