Re: Hello, How to parse lists?
Mikael Asplund <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure about that. Never used qi, and this is probably something with skippers or so. Anyone else?
Full code below:
symbol_def_parameter =
(symbol_parameter > (symbol_alpha % qi::char_(','))
;
symbol_alpha =
qi::char_("a-zA-Z_") >>
*qi::char_("a-zA-Z0-9_")
;
symbol_parameter = no_case["parameter"];
Regards,
Mikael
-----Original Message-----
From: Jens Kallup [mailto:[email protected]]
Sent: Saturday, October 29, 2016 22:56
To: Spirit General Mailing List <[email protected]>
Subject: Re: [Spirit-general] Hello, How to parse lists?
The problem:
1. input("parameter fff"); // true
2. input("parameter fff , ccc"); // true 3. input("parameter fff, ccc ddd ddd dd dd"); // true
Fall 3 should be wrong! :-(
Jens
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik