Operator '@@' (export-all) added. Experimental include() function also added

This commit is contained in:
2024-04-06 03:06:07 +02:00
parent ce6b88ccdd
commit 7612a59757
10 changed files with 108 additions and 29 deletions
+2
View File
@@ -199,6 +199,8 @@ func (self *scanner) fetchNextToken() (tk *Token) {
} else {
tk = self.makeErrorToken(fmt.Errorf("invalid variable reference %q", tk.source))
}
} else if next == '@' {
tk = self.moveOn(SymDoubleAt, ch, next)
} else {
tk = self.makeToken(SymAt, ch)
}