Re: Oct parser vs octet parser
Michael Powell <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <CAMEoF_FZ26mTAKuyNgGcgP-Dp5eXvyOcduuENdswBgWhDLEg3g@mail.gmail.com> |
On Thu, Nov 23, 2017 at 7:11 AM, Mikael Asplund <[email protected]> wrote: > From the page you linked: "Parse an octal integer into an unsigned"... it parses an octal (base 8) number, as opposed to a decimal or hexadecimal number. Thanks, that's what I was thinking, but it wasn't especially clear. And hex? (digit | char_('a', 'f') | char_('A', 'F'))? If so, why not just say so and make it clear? i.e. oct: Parse an octal (base 8, char_('0', '7')) integer into an unsigned > Regards, > Mikael > > -----Original Message----- > From: Michael Powell [mailto:[email protected]] > Sent: Thursday, November 23, 2017 05:40 > To: Spirit General Mailing List <[email protected]> > Subject: [Spirit-general] Oct parser vs octet parser > > Hello, > > Am I correct in saying that the "oct" parser is not the same thing as saying "octet" parser (i.e. for IPv4 addresses)? > > https://ciere.com/cppnow15/x3_docs/spirit/quick_reference/numeric.html > > Thanks! > > Cheers, > > Michael Powell > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ > Spirit-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spirit-general > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Spirit-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/spirit-general ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot