diff options
Diffstat (limited to 'src/checkauto.l')
| -rw-r--r-- | src/checkauto.l | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/checkauto.l b/src/checkauto.l index ab71403c..a8f14abb 100644 --- a/src/checkauto.l +++ b/src/checkauto.l @@ -35,20 +35,15 @@ c_foreach | c_forpair | c_forrange | c_forfilter | -c_forwhile | c_formatch | c_fortoken | 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) { |
