Return pattern for prototype if linenr is not available, closes #219