From 5ec606e5dfdbaebe22717d094b58ee7f365ffd9c Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 6 Nov 2022 15:52:16 +0100 Subject: Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful (and was undocumented). --- src/checkauto.l | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/checkauto.l b/src/checkauto.l index 34aa280f..541bbf3f 100644 --- a/src/checkauto.l +++ b/src/checkauto.l @@ -43,9 +43,7 @@ do { block_type |= LOOP; state = BRACESDONE; } c_with | c_scope | c_defer | -c_autovar | -c_autoscope | -c_autodefer | +c_autodrop | c_auto { block_type = AUTO; state = BRACES; } \( { if (state == BRACES) ++braces_lev; } \) { if (state == BRACES && --braces_lev == 0) { -- cgit v1.2.3