Implemented numeric constants
This commit is contained in:
parent
f603c3a479
commit
3da77d22d7
7 changed files with 59 additions and 9 deletions
|
@ -215,9 +215,10 @@ func scanFile(path string, functions chan<- *Function) error {
|
|||
}
|
||||
|
||||
functions <- &Function{
|
||||
Name: tokens[nameStart].Text(),
|
||||
Head: tokens[paramsStart:bodyStart],
|
||||
Body: tokens[bodyStart : i+1],
|
||||
Name: tokens[nameStart].Text(),
|
||||
Head: tokens[paramsStart:bodyStart],
|
||||
Body: tokens[bodyStart : i+1],
|
||||
Variables: map[string]*Variable{},
|
||||
}
|
||||
|
||||
nameStart = -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue