]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
* src/frontends/GuiDocument.{cpp,h}:
[lyx.git] / src / tex2lyx / tex2lyx.h
index 913060977c578e73d0f05112538921b889352fbe..c3ffe97d5064940a9c3ed4af1e95be5b32fa62d6 100644 (file)
@@ -75,11 +75,11 @@ char const * const * is_known(std::string const &, char const * const *);
 /*!
  * Adds the command \p command to the list of known commands.
  * \param o1 first optional parameter to the latex command \newcommand
- * (with brackets), or the empty string if there were no optional arguments.
- * \param o2 wether \newcommand had a second optional parameter
+ * (with brackets), or the empty string if there were no optional argument.
+ * \param optionalsNum is the number of optional parameters
  */
 void add_known_command(std::string const & command, std::string const & o1,
-                      bool o2);
+       unsigned optionalsNum);
 
 // Access to environment stack
 extern std::vector<std::string> active_environments;