File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/javascript Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919
2020/*
2121 * Copyright (c) 2006, 2018, Oracle and/or its affiliates. All rights reserved.
22+ * Portions Copyright (c) 2019, Chris Fraire <cfraire@me.com>.
2223 */
2324
2425package org .opengrok .indexer .analysis .javascript ;
@@ -51,6 +52,7 @@ public class Consts {
5152 kwd .add ("RegExp" );
5253 kwd .add ("String" );
5354 //keywords
55+ kwd .add ("await" ); // ECMA-262, 10th edition, June 2019
5456 kwd .add ("break" );
5557 kwd .add ("case" );
5658 kwd .add ("catch" );
Original file line number Diff line number Diff line change 1919
2020/*
2121 * Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
22- * Portions Copyright (c) 2017-2018 , Chris Fraire <cfraire@me.com>.
22+ * Portions Copyright (c) 2017-2019 , Chris Fraire <cfraire@me.com>.
2323 */
2424package org .opengrok .indexer .analysis .javascript ;
2525
@@ -50,11 +50,11 @@ protected JavaScriptAnalyzer(AnalyzerFactory factory) {
5050 * Gets a version number to be used to tag processed documents so that
5151 * re-analysis can be re-done later if a stored version number is different
5252 * from the current implementation.
53- * @return 20190217_00
53+ * @return 20191006_00
5454 */
5555 @ Override
5656 protected int getSpecializedVersionNo () {
57- return 20190217_00 ; // Edit comment above too!
57+ return 20191006_00 ; // Edit comment above too!
5858 }
5959
6060 /**
You can’t perform that action at this time.
0 commit comments