From 73ded3c63ca2522b7bb6ca8eb7834c5adc1a3511 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Dec 2018 14:42:46 +0300 Subject: dedupe literal parsers --- crates/ra_syntax/src/string_lexing.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'crates/ra_syntax/src/string_lexing.rs') diff --git a/crates/ra_syntax/src/string_lexing.rs b/crates/ra_syntax/src/string_lexing.rs index 94853331f..349733f3f 100644 --- a/crates/ra_syntax/src/string_lexing.rs +++ b/crates/ra_syntax/src/string_lexing.rs @@ -1,13 +1,7 @@ mod parser; -mod byte; -mod byte_string; -mod char; mod string; pub use self::{ - byte::parse_byte_literal, - byte_string::parse_byte_string_literal, - char::parse_char_literal, - parser::{CharComponent, CharComponentKind, StringComponent, StringComponentKind}, - string::parse_string_literal, + parser::{StringComponent, StringComponentKind}, + string::{parse_string_literal, parse_char_literal, parse_byte_literal, parse_byte_string_literal}, }; -- cgit v1.2.3