alaCarte Maps
Renderer for OpenStreetMap tiles
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
comment_skipper.cpp
Go to the documentation of this file.
1
22
#include "
server/parser/comment_skipper.hpp
"
23
24
#include <boost/spirit/include/qi.hpp>
25
26
30
CommentSkipper::CommentSkipper
()
31
:
CommentSkipper
::base_type(rule_comment,
"comment skipper"
)
32
{
33
rule_comment
= chs::space
34
| (qi::lit(
"//"
) >> *(qi::char_ - qi::eol) >> qi::eol)
35
| (qi::lit(
"/*"
) >> *(qi::char_ -
"*/"
) >> qi::lit(
"*/"
));
36
}
CommentSkipper
Grammar to skipp c/c++ style comments.
Definition:
comment_skipper.hpp:35
CommentSkipper::rule_comment
qi::rule< GrammarIterator > rule_comment
The mainrule.
Definition:
comment_skipper.hpp:40
comment_skipper.hpp
CommentSkipper::CommentSkipper
CommentSkipper()
This file is part of alaCarte.
Definition:
comment_skipper.cpp:30
src
server
parser
comment_skipper.cpp
Generated on Thu May 24 2018 16:14:00 for alaCarte Maps by
1.8.11