1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: fix error pos on default value (#6338)

This commit is contained in:
Daniel Däschle
2020-09-09 15:34:41 +02:00
committed by GitHub
parent 78e28a72ed
commit 3a146a6dbe
17 changed files with 56 additions and 43 deletions

View File

@ -5,7 +5,7 @@ import os
pub struct DocumentObjectModel {
mut:
root &Tag
constructed bool = false
constructed bool
btree BTree
all_tags []&Tag
all_attributes map[string][]&Tag

View File

@ -5,11 +5,11 @@ import os
struct LexycalAttributes {
mut:
current_tag &Tag
open_tag bool = false
open_code bool = false
open_tag bool
open_code bool
open_string int
open_comment bool = false
is_attribute bool = false
open_comment bool
is_attribute bool
opened_code_type string
line_count int
lexeme_builder string
@ -32,7 +32,7 @@ mut:
current_tag: &Tag{}
}
filename string = 'direct-parse'
initialized bool = false
initialized bool
tags []&Tag
debug_file os.File
}

View File

@ -16,7 +16,7 @@ mut:
last_attribute string
parent &Tag = C.NULL
position_in_parent int
closed bool = false
closed bool
close_type CloseTagType = .in_name
}