Implemented extern functions

This commit is contained in:
Eduard Urbach 2025-02-12 00:04:30 +01:00
parent 38b573085e
commit 4803b81845
Signed by: eduard
GPG key ID: 49226B848C78F6C8
24 changed files with 304 additions and 169 deletions

View file

@ -37,6 +37,8 @@ func (s *Scanner) scanFile(path string, pkg string) error {
i, err = s.scanStruct(file, tokens, i)
case token.Identifier:
i, err = s.scanFunction(file, tokens, i)
case token.Extern:
i, err = s.scanExtern(file, tokens, i)
case token.EOF:
return nil
case token.Invalid: