OSDN Git Service

lexical: repeat -> optional_repeat
authorMyun2 <myun2@nwhite.info>
Sat, 7 Aug 2010 18:24:45 +0000 (03:24 +0900)
committerMyun2 <myun2@nwhite.info>
Sat, 7 Aug 2010 18:24:45 +0000 (03:24 +0900)
roast/include/roast/lexical/rule.hpp
roast/include/roast/lexical/string_rule.hpp

index ada1780..6376678 100644 (file)
@@ -219,7 +219,7 @@ namespace roast
                        ////////////////////
 
                        template <typename T>
-                       class repeat    //      optional_repeat
+                       class optional_repeat
                        {
                        public:
                                template <typename _It, typename _Param>
index 3d007a4..db94899 100644 (file)
@@ -114,9 +114,9 @@ namespace roast
                                unichar<'\r'>,
                                unichar<'\n'>
                        > whitespace;
-                       typedef seq<whitespace, repeat<whitespace> >
+                       typedef seq<whitespace, optional_repeat<whitespace> >
                                requre_whitespace, _reqws, reqws;
-                       typedef repeat<whitespace>
+                       typedef optional_repeat<whitespace>
                                no_requre_whitespace, _nrqws, _noreqws, nrqws, noreqws, optws;
 
                        /////////////////////