|
|
@ -37,6 +37,7 @@ func lexIdent(l *Lexer) stateFn {
|
|
|
|
L.Debug("stepping through lexIdent")
|
|
|
|
L.Debug("stepping through lexIdent")
|
|
|
|
switch {
|
|
|
|
switch {
|
|
|
|
case isEscape(s):
|
|
|
|
case isEscape(s):
|
|
|
|
|
|
|
|
l.next()
|
|
|
|
l.next()
|
|
|
|
l.next()
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
case isCloseLink(s):
|
|
|
|
case isCloseLink(s):
|
|
|
@ -93,6 +94,7 @@ func lexText(l *Lexer) stateFn {
|
|
|
|
L.Debug("stepping through lexText")
|
|
|
|
L.Debug("stepping through lexText")
|
|
|
|
switch {
|
|
|
|
switch {
|
|
|
|
case isEscape(s):
|
|
|
|
case isEscape(s):
|
|
|
|
|
|
|
|
l.next()
|
|
|
|
l.next()
|
|
|
|
l.next()
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
case isOpenLink(s):
|
|
|
|
case isOpenLink(s):
|
|
|
|