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().
04b801655cAndrew Kelley committed on 9/1/2021, 6:30:33 PMparent21a5769
1 file changedLine totals unavailable