]> git.lyx.org Git - features.git/commitdiff
fixes from Angus
authorAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 11:08:55 +0000 (11:08 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 11:08:55 +0000 (11:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2531 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_deliminset.C
src/mathed/math_parser.C

index 84a1001f9900108405fc1660beaf5160a3151455..9fc14cad7842b779a0d9c0747f9b27b1df2a1d8d 100644 (file)
@@ -1,3 +1,5 @@
+#include <config.h>
+
 #ifdef __GNUG__
 #pragma implementation
 #endif
@@ -7,6 +9,7 @@
 #include "mathed/support.h"
 #include "support/LOstream.h"
 
+using std::max;
 
 MathDelimInset::MathDelimInset(latexkeys const * l, latexkeys const * r)
        : MathNestInset(1), left_(l), right_(r)
index a9dd1d1f91bef8c200bb7e26a6d9a834192b7522..ac4e2519b8091cad79dd50931ee61696449982a2 100644 (file)
@@ -46,6 +46,8 @@
 #include "support/lstrings.h"
 
 using std::istream;
+using std::ostream;
+using std::ios;
 using std::endl;
 
 
@@ -128,7 +130,7 @@ enum {
        FLAG_NEWLINE    = 1 << 6,  //  next \\\\ ends the parsing process
        FLAG_ITEM       = 1 << 7,  //  read a (possibly braced token)
        FLAG_BLOCK      = 1 << 8,  //  next block ends the parsing process
-       FLAG_LEAVE      = 1 << 9,  //  leave the loop at the end
+       FLAG_LEAVE      = 1 << 9   //  leave the loop at the end
 };