From 7f8ca07d864b5ec8e668c48c4c029dd0584eae4a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 9 Jan 2018 00:06:42 +0300 Subject: G: extern crate --- tests/data/lexer/0011_keywords.rs | 2 +- tests/data/lexer/0011_keywords.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/data/lexer') diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 1f4a4a74c..4adb1587e 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs @@ -1 +1 @@ -fn use struct trait enum impl true false +fn use struct trait enum impl true false as extern crate diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index eded37084..bf8ceffd4 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt @@ -13,4 +13,10 @@ WHITESPACE 1 " " TRUE_KW 4 "true" WHITESPACE 1 " " FALSE_KW 5 "false" +WHITESPACE 1 " " +AS_KW 2 "as" +WHITESPACE 1 " " +EXTERN_KW 6 "extern" +WHITESPACE 1 " " +CRATE_KW 5 "crate" WHITESPACE 1 "\n" -- cgit v1.2.3