summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-26 22:33:45 +0200
committerTyge Løvset <[email protected]>2023-03-26 22:33:45 +0200
commitede39bc98a758674485796174ea860515ec281e6 (patch)
tree9cf3cb80a09be277d1581345701d54dda6ecd4f6 /src
parentf2f9eaab3e347d04dfa98978e20fcdcdcb38c72d (diff)
downloadSTC-modified-ede39bc98a758674485796174ea860515ec281e6.tar.gz
STC-modified-ede39bc98a758674485796174ea860515ec281e6.zip
Remove more c_with, c_auto
Diffstat (limited to 'src')
-rw-r--r--src/checkauto.l6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/checkauto.l b/src/checkauto.l
index 349da70b..a8f14abb 100644
--- a/src/checkauto.l
+++ b/src/checkauto.l
@@ -41,13 +41,9 @@ for |
while |
switch { block_type |= LOOP; state = BRACES; }
do { block_type |= LOOP; state = BRACESDONE; }
-c_with |
-c_scope |
c_defer |
-c_auto |
-c_with |
c_scope |
-c_defer |
+c_with |
c_auto { block_type = AUTO; state = BRACES; }
\( { if (state == BRACES) ++braces_lev; }
\) { if (state == BRACES && --braces_lev == 0) {