Skip to content

Commit d011477

Browse files
committed
preserve previous error condition
1 parent d92208e commit d011477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lrlex/src/lib/ctbuilder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ where
672672
}
673673
}
674674

675-
has_unallowed_missing = self.warnings_are_errors;
675+
has_unallowed_missing |= self.warnings_are_errors;
676676
}
677677
}
678678
if has_unallowed_missing {

0 commit comments

Comments
 (0)