Skip to content

Commit 5475519

Browse files
committed
Fix an issue where default_lex_flags could go unused.
1 parent 418431c commit 5475519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lrlex/src/lib/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ where
324324
) -> LexInternalBuildResult<usize> {
325325
i = self.parse_ws(i)?;
326326
let mut grmtools_section_span_map = HashMap::new();
327-
let mut grmtools_section_lex_flags = DEFAULT_LEX_FLAGS;
327+
let mut grmtools_section_lex_flags = UNSPECIFIED_LEX_FLAGS;
328328
if let Some(j) = self.lookahead_is("%grmtools", i) {
329329
i = self.parse_ws(j)?;
330330
if let Some(j) = self.lookahead_is("{", i) {

0 commit comments

Comments
 (0)