[gtksourceview/gnome-3-20] javascript: update for es6
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-3-20] javascript: update for es6
- Date: Wed, 27 Apr 2016 18:04:45 +0000 (UTC)
commit 523cdc49c8acc93f08b0d16b6fe120d56e6f4f90
Author: Giovanni Campagna <gcampagn cs stanford edu>
Date: Tue Apr 26 14:31:58 2016 -0700
javascript: update for es6
Move some keywords from errors to valid keywords
https://bugzilla.gnome.org/show_bug.cgi?id=765639
data/language-specs/javascript.lang | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/language-specs/javascript.lang b/data/language-specs/javascript.lang
index c9cdc88..7c24757 100644
--- a/data/language-specs/javascript.lang
+++ b/data/language-specs/javascript.lang
@@ -134,6 +134,10 @@
<keyword>void</keyword>
<keyword>while</keyword>
<keyword>with</keyword>
+ <keyword>class</keyword>
+ <keyword>extends</keyword>
+ <keyword>super</keyword>
+ <keyword>static</keyword>
</context>
<context id="unofficial-keywords" style-ref="keyword">
@@ -294,10 +298,7 @@
</context>
<context id="future-words" style-ref="future-words">
- <keyword>class</keyword>
<keyword>enum</keyword>
- <keyword>extends</keyword>
- <keyword>super</keyword>
<!-- in strict mode -->
<keyword>implements</keyword>
@@ -306,7 +307,6 @@
<keyword>private</keyword>
<keyword>protected</keyword>
<keyword>public</keyword>
- <keyword>static</keyword>
</context>
<context id="template-string" style-ref="string">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]