AstGen: fix "missing function name" error

scanDecls() made an incorrect assumption about all declarations having
function names. The compile error for "missing function name" needed to
go into scanDecls().
173db6eea6Andrew Kelley committed on 9/1/2021, 6:29:14 PMparent77516af
1 file changedLine totals unavailable