aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-07-31 20:20:50 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-02 08:51:55 +0000
commitca1f69757421845f563ebe90a5880509839efb31 (patch)
tree435be52048f38ff90f895bbacce02727795a0397 /tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
parenteefa21a18223595acd350aff3db0ed23f4d1a002 (diff)
Fix grammar for ES modules
* Always parse 'import' as a keyword, as it is now one in Qml and ES. * Always parse 'as' as keyword but allow it as identifier using the same trick as for the other keywords. This fixes basic import statements such as import "foo.mjs" as bar but still allows funny variations such as import "foo.mjs" as as. Change-Id: I76a600aab90c1b5c07d079bf11b0a78742d44c53 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp')
0 files changed, 0 insertions, 0 deletions