From 48503551b13e4013efe7da0a1043da9b3bdf0721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 13 Aug 2001 15:58:26 +0000 Subject: [PATCH] more honey for Angus's dinosaur git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2505 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/math_parser.C | 2 +- src/mathed/support.C | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 9d35995d11..ba67429d5f 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2001-08-13 Angus Leeming + + * math_parser.C (lexArg): remove default argument from the .C file + as it causes DEC cxx to complain about a redefinition. 2001-08-13 André Pönitz diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index d59afab45e..a499871ccc 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -259,7 +259,7 @@ unsigned char Parser::getuchar() } -string Parser::lexArg(unsigned char lf, bool accept_spaces = false) +string Parser::lexArg(unsigned char lf, bool accept_spaces) { string result; unsigned char c = 0; diff --git a/src/mathed/support.C b/src/mathed/support.C index 8ac4879dad..333bae5f87 100644 --- a/src/mathed/support.C +++ b/src/mathed/support.C @@ -669,6 +669,10 @@ void mathed_draw_deco(Painter & pain, int x, int y, int w, int h, } +bool isBinaryOp(char c) +{ + return true; +} // In a near future maybe we use a better fonts renderer void drawStr(Painter & pain, MathTextCodes type, MathStyles siz,