Commit 17a5f63c authored by Per Cederqvist's avatar Per Cederqvist

(lexer): Ignore asynclink.

(lexer.toplevel_asyncdlink): New method.
parent 903f6a16
......@@ -335,6 +335,7 @@ class lexer:
toplevel_item = ignore
toplevel_req = ignore
toplevel_reqlink = ignore
toplevel_asynclink = ignore
toplevel_subsection = ignore
toplevel_itemize = ignore
toplevel_bullet = ignore
......@@ -561,6 +562,10 @@ class lexer:
self.__assert_no_linkhere()
self.__linkhere = ("@reqdlink{%s}" % arg, line_no)
def toplevel_asyncdlink(self, arg, line_no):
self.__assert_no_linkhere()
self.__linkhere = ("@asyncdlink{%s}" % arg, line_no)
def __assert_no_linkhere(self):
if self.__linkhere != None:
self.error(self.__linkhere[1],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment