From 85c42fba1291f1cc41fb7bfec63117895b394fc5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 4 Feb 2018 16:46:26 +0300 Subject: Support contextual tokens --- grammar.ron | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'grammar.ron') diff --git a/grammar.ron b/grammar.ron index c2fcc44f5..e97ef0c2c 100644 --- a/grammar.ron +++ b/grammar.ron @@ -27,6 +27,11 @@ Grammar( "mut", "unsafe", ], + contextual_keywords: [ + "auto", + "default", + "union", + ], tokens: [ "ERROR", "IDENT", -- cgit v1.2.3