changed return value for unsupported linenumber from -1 to 0.