From 0000f4f4f2f32c6ff67db6cbc27e3a49c85f4b99 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 2 Feb 2018 23:45:15 +0300 Subject: G: static items --- tests/data/lexer/0011_keywords.rs | 3 ++- tests/data/lexer/0011_keywords.txt | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/data/lexer') diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs index 7a1000bb7..b74fc606e 100644 --- a/tests/data/lexer/0011_keywords.rs +++ b/tests/data/lexer/0011_keywords.rs @@ -1,2 +1,3 @@ fn use struct trait enum impl true false as extern crate -mod pub self super in where for loop while if match const static +mod pub self super in where for loop while if match const +static mut diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt index b38b4bd64..05b1f0995 100644 --- a/tests/data/lexer/0011_keywords.txt +++ b/tests/data/lexer/0011_keywords.txt @@ -43,6 +43,8 @@ WHITESPACE 1 " " MATCH_KW 5 "match" WHITESPACE 1 " " CONST_KW 5 "const" -WHITESPACE 1 " " +WHITESPACE 1 "\n" STATIC_KW 6 "static" +WHITESPACE 1 " " +MUT_KW 3 "mut" WHITESPACE 1 "\n" -- cgit v1.2.3