]> git.lyx.org Git - features.git/commit
Clean up parsing of optional arguments:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 28 Jan 2011 20:29:06 +0000 (20:29 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 28 Jan 2011 20:29:06 +0000 (20:29 +0000)
commitb2e1eb0dda646b936b5626beaba5483c860ffd51
tree4600fd8ae1bd55205186474ea8290d81fd7988cf
parent5123774bd19ed3aad7bed7fdb40e8604e27d2f0f
Clean up parsing of optional arguments:
If an optional argument can be followed by another one, we need to use
getFullOpt(). Otherwise it would not be possible to parse \foo[][bar].
Remove getOptContent to avoid confusion (it does exactly the same as
getArg('[', ']') which is used in most places.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37354 a592a061-630c-0410-9148-cb99ea01b6c8
src/tex2lyx/Parser.cpp
src/tex2lyx/Parser.h
src/tex2lyx/preamble.cpp
src/tex2lyx/text.cpp