fmt: fix alignment of enumeration types (#21999)

This commit is contained in:
yuyi 2024-08-07 20:46:50 +08:00 committed by GitHub
parent 3247b98bb5
commit 79ee4ae046
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 543 additions and 479 deletions

View file

@ -877,11 +877,11 @@ fn (re RE) parse_quantifier(in_txt string, in_i int) (int, int, int, bool) {
//
enum Group_parse_state {
start
q_mark // (?
q_mark1 // (?:|P checking
p_status // (?P
p_start // (?P<
p_end // (?P<...>
q_mark // (?
q_mark1 // (?:|P checking
p_status // (?P
p_start // (?P<
p_end // (?P<...>
p_in_name // (?P<...
finish
}
@ -1775,15 +1775,15 @@ fn (mut re RE) group_continuous_save(g_index int) {
*
******************************************************************************/
enum Match_state {
start = 0
start = 0
stop
end
new_line
ist_load // load and execute instruction
ist_next // go to next instruction
ist_next_ks // go to next instruction without clenaning the state
ist_quant_p // match positive ,quantifier check
ist_quant_n // match negative, quantifier check
ist_load // load and execute instruction
ist_next // go to next instruction
ist_next_ks // go to next instruction without clenaning the state
ist_quant_p // match positive ,quantifier check
ist_quant_n // match negative, quantifier check
ist_quant_pg // match positive ,group quantifier check
ist_quant_ng // match negative ,group quantifier check
}