Fix a bug in XSpec

Compilation of tests using a combination of x:call[@template] and
x:context failed.

TODO: commit upsteam
Merge pull request #3 from bertfrees/bugfix_call+content

Close #3