Tom with his friends was playing basketball when I saw him.

问题描述:

Tom with his friends was playing basketball when I saw him.
这句话有什么语法错误吗?

没错啊.
with his friends 可以理解为TOM的定语啊.
就是说Tom was playing basketball when I saw him.