Reduced token size
This commit is contained in:
parent
7bfd0e731d
commit
1e3705df55
47 changed files with 543 additions and 764 deletions
|
@ -15,9 +15,9 @@ func (f *Function) CompileCall(root *expression.Expression) error {
|
|||
funcName := ""
|
||||
|
||||
if funcNameRoot.IsLeaf() {
|
||||
funcName = funcNameRoot.Token.Text()
|
||||
funcName = funcNameRoot.Token.Text(f.File.Bytes)
|
||||
} else {
|
||||
funcName = funcNameRoot.Children[0].Token.Text() + funcNameRoot.Token.Text() + funcNameRoot.Children[1].Token.Text()
|
||||
funcName = funcNameRoot.Children[0].Token.Text(f.File.Bytes) + funcNameRoot.Token.Text(f.File.Bytes) + funcNameRoot.Children[1].Token.Text(f.File.Bytes)
|
||||
}
|
||||
|
||||
isSyscall := funcName == "syscall"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue