|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-05-31 11:28:40
Author: hkaiser
Date: 2008-05-31 11:28:39 EDT (Sat, 31 May 2008)
New Revision: 45979
URL: http://svn.boost.org/trac/boost/changeset/45979
Log:
Spirit.Lex: fixed minor issue with one of the examples
Text files modified:
trunk/libs/spirit/example/lex/word_count_functor.flex | 2 +-
trunk/libs/spirit/example/lex/word_count_functor_flex.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/example/lex/word_count_functor.flex
==============================================================================
--- trunk/libs/spirit/example/lex/word_count_functor.flex (original)
+++ trunk/libs/spirit/example/lex/word_count_functor.flex 2008-05-31 11:28:39 EDT (Sat, 31 May 2008)
@@ -26,7 +26,7 @@
return true;
}
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
{
int tok = EOF;
int c = 0, w = 0, l = 0;
Modified: trunk/libs/spirit/example/lex/word_count_functor_flex.cpp
==============================================================================
--- trunk/libs/spirit/example/lex/word_count_functor_flex.cpp (original)
+++ trunk/libs/spirit/example/lex/word_count_functor_flex.cpp 2008-05-31 11:28:39 EDT (Sat, 31 May 2008)
@@ -1543,7 +1543,7 @@
return true;
}
-void main(int argc, char* argv[])
+int main(int argc, char* argv[])
{
int tok = EOF;
int c = 0, w = 0, l = 0;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk