basis.template: add location to tokenize warnings