fix offset-bug in macro-parser-cursor