summary refs log tree commit diff stats
path: root/src/parser.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2023-04-08 22:08:23 -0300
committerSoniEx2 <endermoneymod@gmail.com>2023-04-08 22:08:23 -0300
commit41254c58c9fface69f7db39b5236a7aed319047c (patch)
tree2bdd94a9733f66c12588da518fb20010ae142e3d /src/parser.rs
parentd849f5e301fa47cfd87df1e7f1ad0346ddf387f1 (diff)
Clean up
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs17
1 files changed, 0 insertions, 17 deletions
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.