summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/checkauto.l6
-rw-r--r--src/utf8code.c2
2 files changed, 2 insertions, 6 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) {
diff --git a/src/utf8code.c b/src/utf8code.c
index ecfdd24d..496f5eef 100644
--- a/src/utf8code.c
+++ b/src/utf8code.c
@@ -142,7 +142,7 @@ bool utf8_isalpha(uint32_t c) {
static int16_t groups[] = {U8G_Latin, U8G_Nl, U8G_Greek, U8G_Cyrillic,
U8G_Han, U8G_Devanagari, U8G_Arabic};
if (c < 128) return isalpha((int)c) != 0;
- for (int j=0; j < c_ARRAYLEN(groups); ++j)
+ for (int j=0; j < c_arraylen(groups); ++j)
if (utf8_isgroup(groups[j], c))
return true;
return false;