$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [spirit] Qi rule for GPS NMEA
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2013-09-05 22:13:33
On 05/09/2013 10:54 p.m., Michael Caisse wrote:
> Parsing NMEA is about as easy as you have described in english.
>
> rule = lit('$') >> ~char_('*') >> lit('$') >> hex >> lit("\r\n");
There should be a `>> '*'` right after `~char_('*')` to consume that '*'.
Regards,
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com