mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
parser: remove redundant comments_mode field (#21198)
This commit is contained in:
parent
9d889842aa
commit
ad17be5dfa
3 changed files with 3 additions and 9 deletions
|
@ -79,7 +79,6 @@ fn process_files(files []string) ! {
|
|||
fn new_parser(path string, comments_mode scanner.CommentsMode, table &ast.Table, pref_ &pref.Preferences) &parser.Parser {
|
||||
mut p := &parser.Parser{
|
||||
scanner: scanner.new_scanner_file(path, comments_mode, pref_) or { panic(err) }
|
||||
comments_mode: comments_mode
|
||||
table: table
|
||||
pref: pref_
|
||||
scope: &ast.Scope{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue