mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
chore(regexp.c): correctly align META_flags (#17668)
This commit is contained in:
@@ -320,20 +320,20 @@ static int reg_strict; // "[abc" is illegal
|
|||||||
|
|
||||||
// META[] is used often enough to justify turning it into a table.
|
// META[] is used often enough to justify turning it into a table.
|
||||||
static char_u META_flags[] = {
|
static char_u META_flags[] = {
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
/* % & ( ) * + . */
|
// % & ( ) * + .
|
||||||
0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0,
|
0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0,
|
||||||
/* 1 2 3 4 5 6 7 8 9 < = > ? */
|
// 1 2 3 4 5 6 7 8 9 < = > ?
|
||||||
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1,
|
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1,
|
||||||
/* @ A C D F H I K L M O */
|
// @ A C D F H I K L M O
|
||||||
1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1,
|
1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1,
|
||||||
/* P S U V W X Z [ _ */
|
// P S U V W X Z [ _
|
||||||
1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1,
|
1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1,
|
||||||
/* a c d f h i k l m n o */
|
// a c d f h i k l m n o
|
||||||
0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1,
|
0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1,
|
||||||
/* p s u v w x z { | ~ */
|
// p s u v w x z { | ~
|
||||||
1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1
|
1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1
|
||||||
};
|
};
|
||||||
|
|
||||||
static int curchr; // currently parsed character
|
static int curchr; // currently parsed character
|
||||||
|
Reference in New Issue
Block a user