diff options
| author | Tyge Løvset <[email protected]> | 2023-03-26 22:33:45 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-03-26 22:33:45 +0200 |
| commit | ede39bc98a758674485796174ea860515ec281e6 (patch) | |
| tree | 9cf3cb80a09be277d1581345701d54dda6ecd4f6 /src | |
| parent | f2f9eaab3e347d04dfa98978e20fcdcdcb38c72d (diff) | |
| download | STC-modified-ede39bc98a758674485796174ea860515ec281e6.tar.gz STC-modified-ede39bc98a758674485796174ea860515ec281e6.zip | |
Remove more c_with, c_auto
Diffstat (limited to 'src')
| -rw-r--r-- | src/checkauto.l | 6 |
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) { |
