Added main prefix
This commit is contained in:
parent
e537e543cc
commit
6510166ae0
9 changed files with 34 additions and 20 deletions
|
@ -198,7 +198,7 @@ func (s *Scanner) scanFile(path string, pkg string) error {
|
|||
name = fmt.Sprintf("%s.%s", pkg, name)
|
||||
}
|
||||
|
||||
function := core.NewFunction(name, file, body)
|
||||
function := core.NewFunction(pkg, name, file, body)
|
||||
parameters := tokens[paramsStart:paramsEnd]
|
||||
count := 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue