This is more an example of syntactic ambiguity where a sentence may be "reasonably interpreted in more than one way": http://en.wikipedia.org/wiki/Syntactic_ambiguity
Interesting link, though. I didn't know the formal term for these types of sentences.