aboutsummaryrefslogtreecommitdiff
path: root/src/parser/event_parser/parser.rs
diff options
context:
space:
mode:
authorChristopher Durham <[email protected]>2018-01-28 02:36:28 +0000
committerChristopher Durham <[email protected]>2018-01-28 02:52:22 +0000
commit4244948c6b1a62bd0e1ef276d1f0cc22c36f6f66 (patch)
tree83d1a4bbaa4be96f76c2d48c00ad479173f61274 /src/parser/event_parser/parser.rs
parent50b9012e10d2fa74294547c25642b4a69fed4bda (diff)
Convert SyntaxKind to an enum
Diffstat (limited to 'src/parser/event_parser/parser.rs')
-rw-r--r--src/parser/event_parser/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser/event_parser/parser.rs b/src/parser/event_parser/parser.rs
index 5ba3071cb..573e3d73a 100644
--- a/src/parser/event_parser/parser.rs
+++ b/src/parser/event_parser/parser.rs
@@ -1,8 +1,7 @@
1use {SyntaxKind, TextUnit, Token}; 1use {SyntaxKind, TextUnit, Token};
2use super::Event; 2use super::Event;
3use super::super::is_insignificant; 3use super::super::is_insignificant;
4use syntax_kinds::{ERROR, L_CURLY, R_CURLY}; 4use SyntaxKind::{EOF, ERROR, L_CURLY, R_CURLY, TOMBSTONE};
5use tree::{EOF, TOMBSTONE};
6 5
7pub(crate) struct Marker { 6pub(crate) struct Marker {
8 pos: u32, 7 pos: u32,