Not part of regular build, a=leaf. Updated some test files.

This commit is contained in:
kvisco%ziplink.net 2000-07-23 07:25:30 +00:00
Родитель 1505018367
Коммит 0feaec670d
2 изменённых файлов: 9 добавлений и 41 удалений

Просмотреть файл

@ -21,12 +21,12 @@
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* $Id: Parser.cpp,v 1.3 2000-05-16 09:34:01 kvisco%ziplink.net Exp $
* $Id: Parser.cpp,v 1.4 2000-07-23 07:25:29 kvisco%ziplink.net Exp $
*/
/**
* Test App for Expressions
* @version $Revision: 1.3 $ $Date: 2000-05-16 09:34:01 $
* @version $Revision: 1.4 $ $Date: 2000-07-23 07:25:29 $
**/
#include <iostream.h>
@ -48,7 +48,11 @@ void main(int argc, char** argv) {
//String pattern("@*|node()");
//String pattern("FSContext/UserList/User[@id=/FSContext/SessionData/@userref]/@priv = 'admin'");
String pattern("10/3");
//String pattern("10/3");
//String pattern("*[1]foo|*[1]/bar|*[1]/baz");
//-- Current Test
String pattern("(4+5)-(9+9)");
cout <<"Lexically Analyzing: "<<pattern<<endl;
cout<<endl;
@ -167,6 +171,8 @@ void main(int argc, char** argv) {
cout << "result: "<<resultString <<endl;
}
cout << endl << "----------------------" << endl << endl;
NumberExpr numberExpr( -24.0 );
resultString.clear();
numberExpr.toString(resultString);

Просмотреть файл

@ -1,38 +0,0 @@
CC := g++ -g
ROOT_PATH = ..
BASE_PATH = $(ROOT_PATH)/base
XML_PATH = $(ROOT_PATH)/xml
DOM_PATH = $(XML_PATH)/dom
XSLT_PATH = $(ROOT_PATH)/xslt
INCLUDE_PATHS = -I. \
-I$(BASE_PATH) \
-I$(DOM_PATH) \
-I$(XML_PATH) \
-I$(XSLT_PATH) \
-I-
OBJS = *.o \
$(BASE_PATH)/*.o \
$(DOM_PATH)/*.o \
$(XML_PATH)/*.o \
$(XSLT_PATH)/Names.o
target:
$(CC) $(INCLUDE_PATHS) $(OBJS) Parser.cpp -o parser.exe