don't need this anymore

main
Nick Dumas 1 year ago
parent 17306030b7
commit fa80f3ceea

@ -106,35 +106,3 @@ func lexCloseLink(l *Lexer) stateFn {
return lexText return lexText
} }
/*
func lexInsideLink(l *Lexer) stateFn {
log.Println("entering lexInsideLink")
for {
if strings.HasPrefix(l.input[l.pos:], CloseLink) {
return lexCloseLink
}
r := l.next()
log.Printf("inspecting %q\n", string(r))
switch {
case r == EOF:
case r == '\n':
return l.errorf("unclosed link")
case r == '#':
l.emit(ItemText)
if l.peek() = '^' { return lexBlockRef }
return lexHeading
case r == '|':
l.emit(ItemText)
return lexAlias
}
}
}
*/

Loading…
Cancel
Save