next cases

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29701 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-05-17 00:04:10 +00:00
parent d0c3f0e8fb
commit 38cb5cb02a

View File

@ -226,6 +226,9 @@ def parse_lfun(str):
# TODO: actually insert a cross-reference here
line = line.replace("#LFUN", "LFUN")
# handle the few #lyx:: cases
line = line.replace("#lyx::", "lyx::")
# the first line might not have a field in it in which
# case the variable field won't have a value, so check
# to avoid an error