I can't figure out what in the world this is complaining about, looks fine to me:
DECLARE @newidentity int
SET @newidentity = scope_identity()
select @newidentity
Insert into @Companies (select @newidentity, Name from Company where Name = 'Parker')
I get the following for the insert line:
Incorrect syntax near the keyword 'select'.
Incorrect syntax near ')'.