Update of /cvsroot/monetdb/pathfinder/compiler/parser
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv3625/compiler/parser
Modified Files:
Tag: XQuery_0-16
scanner.l
Log Message:
allow compilation of pathfinder on Windows (32-bits) via the Intel Compiler.
some highlights:
- inline getopt implementation for win32 (BSD licences)
- avoid stroll(), win32 does not have it
- new win32-specific files (Makefile, configure.py, rules.msc, pf_config.h.in)
see NOTES. next week the story continues on 64-bits windows
Index: scanner.l
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/parser/scanner.l,v
retrieving revision 1.43.2.1
retrieving revision 1.43.2.2
diff -u -d -r1.43.2.1 -r1.43.2.2
--- scanner.l 14 Feb 2007 10:27:13 -0000 1.43.2.1
+++ scanner.l 1 Mar 2007 18:56:44 -0000 1.43.2.2
@@ -651,7 +651,7 @@
{QName}{_}?"("/[^:] { pflval.qname = extract_qname (yytext, 0);
yield (QName_LParen);
}
-{IntegerLiteral} { pflval.num = atoll (yytext);
+{IntegerLiteral} { pflval.num = (long long) atof (yytext);
gotoState (OPERATOR);
yield (IntegerLiteral);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins