mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -86,7 +86,7 @@ fn (mut parser Parser) init() {
|
|||
}
|
||||
parser.dom = DocumentObjectModel{
|
||||
debug_file: parser.debug_file
|
||||
root: &Tag{}
|
||||
root: &Tag{}
|
||||
}
|
||||
parser.add_code_tag('')
|
||||
parser.tags = []&Tag{}
|
||||
|
@ -232,7 +232,7 @@ pub fn (mut parser Parser) split_parse(data string) {
|
|||
|
||||
if parser.lexical_attributes.text_after_tag == true {
|
||||
parser.tags << &Tag{
|
||||
name: 'text'
|
||||
name: 'text'
|
||||
content: temp_string
|
||||
}
|
||||
parser.lexical_attributes.text_after_tag = false
|
||||
|
@ -248,7 +248,7 @@ pub fn (mut parser Parser) split_parse(data string) {
|
|||
|
||||
if parser.tags.len == 0 {
|
||||
parser.tags << &Tag{
|
||||
name: 'text'
|
||||
name: 'text'
|
||||
content: temp_string
|
||||
}
|
||||
} else if parser.tags.len == 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue