From 492f6e6b1c8d062c6732f9aa3360c14708bb1452 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 30 Dec 2017 20:56:54 +0300 Subject: Lexer: angle brackets --- src/lexer/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lexer/mod.rs') diff --git a/src/lexer/mod.rs b/src/lexer/mod.rs index 5255c3d56..24c14add0 100644 --- a/src/lexer/mod.rs +++ b/src/lexer/mod.rs @@ -47,6 +47,8 @@ fn next_token_inner(c: char, ptr: &mut Ptr) -> SyntaxKind { '}' => return R_CURLY, '[' => return L_BRACK, ']' => return R_BRACK, + '<' => return L_ANGLE, + '>' => return R_ANGLE, '@' => return AT, '#' => return POUND, '~' => return TILDE, -- cgit v1.2.3