Update of /cvsroot/boost/boost/libs/wave/src/cpplexer/re2clex
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8017/libs/wave/src/cpplexer/re2clex

Modified Files:
        cpp_re.cpp 
Log Message:
Fixed predefined macros to appear to be defined at a position referring to a 
file named '<built-in>'.

Index: cpp_re.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/src/cpplexer/re2clex/cpp_re.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cpp_re.cpp  15 May 2006 12:41:42 -0000      1.22
+++ cpp_re.cpp  24 Jun 2006 20:44:31 -0000      1.23
@@ -71,6 +71,8 @@
         s->cur = cursor;                                                      \
         s->lim = limit;                                                       \
         s->ptr = marker;                                                      \
+        if (s->cur > s->lim)                                                  \
+            return T_EOF;     /* may happen for empty files */                \
         return (i);                                                           \
     }                                                                         \
     /**/


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to