From 41254c58c9fface69f7db39b5236a7aed319047c Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 8 Apr 2023 22:08:23 -0300 Subject: Clean up --- src/parser.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/parser.rs') diff --git a/src/parser.rs b/src/parser.rs index 744ab0f..e58107e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -33,13 +33,6 @@ macro_rules! bry { }; } -// the following macros rely on unlabeled-break-through-labeled-block being an -// error. -// NOTE: always test changes to this module on nightly! -// still waiting for label-break-value stabilization... - -#[cfg(not(feature = "stable"))] -/// labeled block. on nightly: better compile errors. but also works on stable. macro_rules! lblock { // unfortunately ($l:lifetime : $b:block) => { $l: $b } didn't work. ($($t:tt)+) => { @@ -47,16 +40,6 @@ macro_rules! lblock { } } -#[cfg(feature = "stable")] -/// labeled block. on nightly: better compile errors. but also works on stable. -macro_rules! lblock { - ($l:lifetime : $b:block) => { - $l: loop { - break $b - } - } -} - /// Attempts to shift `s` forward by removing `prefix`. /// /// Returns whether `s` has had `prefix` removed. -- cgit 1.4.1