istates/hl/cpp.st: Update C++ keyword list. - enscript - GNU Enscript Err thinkerwim.openbsd.amsterdam 70 hgit clone git://thinkerwim.org/enscript.git URL:git://thinkerwim.org/enscript.git thinkerwim.org 70 1Log /git/enscript/log.gph thinkerwim.org 70 1Files /git/enscript/files.gph thinkerwim.org 70 1Refs /git/enscript/refs.gph thinkerwim.org 70 1README /git/enscript/file/README.gph thinkerwim.org 70 1LICENSE /git/enscript/file/COPYING.gph thinkerwim.org 70 i--- Err thinkerwim.openbsd.amsterdam 70 1commit 0204769eafc1c9a4b24f9ef3974bb55fb4fd2a97 /git/enscript/commit/0204769eafc1c9a4b24f9ef3974bb55fb4fd2a97.gph thinkerwim.org 70 1parent f2bfb5ead29048ce42000e4796383a4406b069f6 /git/enscript/commit/f2bfb5ead29048ce42000e4796383a4406b069f6.gph thinkerwim.org 70 hAuthor: James Cloos URL:mailto:cloos@jhcloos.com thinkerwim.org 70 iDate: Fri, 18 Jul 2014 17:38:10 -0400 Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 istates/hl/cpp.st: Update C++ keyword list. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iBased on keyword list at http://en.cppreference.com/w/cpp/keyword. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i(As per: Err thinkerwim.openbsd.amsterdam 70 ihttp://en.cppreference.com/w/Cppreference:FAQ#What_can_I_do_with_the_material_on_this_site.3F Err thinkerwim.openbsd.amsterdam 70 ithat page is licensed under the GFDL, unversioned, with no invariant Err thinkerwim.openbsd.amsterdam 70 isections, front-cover texts, or back-cover texts.) Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iSavannah bug #40740. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iSigned-off-by: James Cloos Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iDiffstat: Err thinkerwim.openbsd.amsterdam 70 i M ChangeLog | 4 ++++ Err thinkerwim.openbsd.amsterdam 70 i M states/hl/cpp.st | 28 ++++++++++++++++++++-------- Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i2 files changed, 24 insertions(+), 8 deletions(-) Err thinkerwim.openbsd.amsterdam 70 i--- Err thinkerwim.openbsd.amsterdam 70 1diff --git a/ChangeLog b/ChangeLog /git/enscript/file/ChangeLog.gph thinkerwim.org 70 i@@ -1,5 +1,9 @@ Err thinkerwim.openbsd.amsterdam 70 i 2014-07-18 James Cloos Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i+ * states/hl/cpp.st: Update C++ keyword list. Savannah bug #40740. Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i+2014-07-18 James Cloos Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i * src/util.c: (read_config): Close the FILE *. Savannah bug #40338. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i 2012-10-08 Max Cantor Err thinkerwim.openbsd.amsterdam 70 1diff --git a/states/hl/cpp.st b/states/hl/cpp.st /git/enscript/file/states/hl/cpp.st.gph thinkerwim.org 70 i@@ -6,15 +6,27 @@ Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i cpp_type_re = Err thinkerwim.openbsd.amsterdam 70 i /* Types. Err thinkerwim.openbsd.amsterdam 70 i- (build-re '(auto bool char class complex const double enum extern Err thinkerwim.openbsd.amsterdam 70 i- float friend inline int long private protected public register Err thinkerwim.openbsd.amsterdam 70 i- short signed static struct template typedef union unsigned virtual Err thinkerwim.openbsd.amsterdam 70 i- void volatile)) Err thinkerwim.openbsd.amsterdam 70 i+ (build-re '(alignas alignof and and_eq asm auto bitand bitor bool Err thinkerwim.openbsd.amsterdam 70 i+ break case catch char char16_t char32_t class compl const constexpr Err thinkerwim.openbsd.amsterdam 70 i+ const_cast continue decltype default delete do double dynamic_cast Err thinkerwim.openbsd.amsterdam 70 i+ else enum explicit export extern false float for friend goto if Err thinkerwim.openbsd.amsterdam 70 i+ inline int long mutable namespace new noexcept not not_eq nullptr Err thinkerwim.openbsd.amsterdam 70 i+ operator or or_eq private protected public register Err thinkerwim.openbsd.amsterdam 70 i+ reinterpret_cast return short signed sizeof static static_assert Err thinkerwim.openbsd.amsterdam 70 i+ static_cast struct switch template this thread_local throw true try Err thinkerwim.openbsd.amsterdam 70 i+ typedef typeid typename union unsigned using virtual void volatile Err thinkerwim.openbsd.amsterdam 70 i+ wchar_t while xor xor_eq)) Err thinkerwim.openbsd.amsterdam 70 i */ Err thinkerwim.openbsd.amsterdam 70 i- /\b(auto|bool|c(har|lass|o(mplex|nst))|double|e(num|xtern)|f(loat|riend)\ Err thinkerwim.openbsd.amsterdam 70 i-|in(line|t)|long|p(r(ivate|otected)|ublic)|register\ Err thinkerwim.openbsd.amsterdam 70 i-|s(hort|igned|t(atic|ruct))|t(emplate|ypedef)|un(ion|signed)\ Err thinkerwim.openbsd.amsterdam 70 i-|v(irtual|o(id|latile)))\b/; Err thinkerwim.openbsd.amsterdam 70 i+ /\\b(a(lign(as|of)|nd(|_eq)|sm|uto)|b(it(and|or)|ool|reak)\\ Err thinkerwim.openbsd.amsterdam 70 i+|c(a(se|tch)|har(|16_t|32_t)|lass|o(mpl|n(st(|_cast|expr)|tinue)))\\ Err thinkerwim.openbsd.amsterdam 70 i+|d(e(cltype|fault|lete)|o(|uble)|ynamic_cast)\\ Err thinkerwim.openbsd.amsterdam 70 i+|e(lse|num|x(p(licit|ort)|tern))|f(alse|loat|or|riend)|goto\\ Err thinkerwim.openbsd.amsterdam 70 i+|i(f|n(line|t))|long|mutable|n(amespace|ew|o(except|t(|_eq))|ullptr)\\ Err thinkerwim.openbsd.amsterdam 70 i+|o(perator|r(|_eq))|p(r(ivate|otected)|ublic)\\ Err thinkerwim.openbsd.amsterdam 70 i+|re(gister|interpret_cast|turn)\\ Err thinkerwim.openbsd.amsterdam 70 i+|s(hort|i(gned|zeof)|t(atic(|_(assert|cast))|ruct)|witch)\\ Err thinkerwim.openbsd.amsterdam 70 i+|t(emplate|h(is|r(ead_local|ow))|r(ue|y)|ype(def|id|name))\\ Err thinkerwim.openbsd.amsterdam 70 i+|u(n(ion|signed)|sing)|v(irtual|o(id|latile))|w(char_t|hile)|xor(|_eq))\b/; Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i /* Err thinkerwim.openbsd.amsterdam 70 i * We inherit the C++ state from the C state. This gives us all the Err thinkerwim.openbsd.amsterdam 70 .