mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
Fix typos
This commit is contained in:
@@ -51,7 +51,7 @@ int main(int argc, char* argv[])
|
||||
//
|
||||
// This is the only place where the code is different from an equivalent
|
||||
// dynamic lexical analyzer. We use the `lexertl::static_lexer<>` instead of
|
||||
// the `lexertl::lexer<>` as the base class for our token defintion type.
|
||||
// the `lexertl::lexer<>` as the base class for our token definition type.
|
||||
//
|
||||
// As we specified the suffix "wcl" while generating the static tables we
|
||||
// need to pass the type lexertl::static_::lexer_wcl as the second template
|
||||
|
||||
@@ -81,7 +81,7 @@ int main(int argc, char* argv[])
|
||||
//
|
||||
// This is the only place where the code is different from an equivalent
|
||||
// dynamic lexical analyzer. We use the `lexertl::static_lexer<>` instead of
|
||||
// the `lexertl::lexer<>` as the base class for our token defintion type.
|
||||
// the `lexertl::lexer<>` as the base class for our token definition type.
|
||||
//
|
||||
// As we specified the suffix "wc" while generating the static tables we
|
||||
// need to pass the type lexertl::static_::lexer_wc as the second template
|
||||
|
||||
@@ -154,7 +154,7 @@ int main(int argc, char* argv[])
|
||||
// object instances needed to invoke the parsing process
|
||||
strip_comments_tokens<lexer_type> strip_comments; // Our lexer
|
||||
|
||||
// No parsing is done alltogether, everything happens in the lexer semantic
|
||||
// No parsing is done altogether, everything happens in the lexer semantic
|
||||
// actions.
|
||||
std::string str (read_from_file(1 == argc ? "strip_comments.input" : argv[1]));
|
||||
base_iterator_type first = str.begin();
|
||||
|
||||
Reference in New Issue
Block a user