boostorg / spirit

Boost.org spirit module
http://boost.org/libs/spirit
393 stars 161 forks source link

X3 numeric parsers matching a num value #542

Open wmamrak opened 5 years ago

wmamrak commented 5 years ago

In X3, matching a num by numeric parsers is not possible because numeric parsers do not have operator(), despite the docs stating the opposite. https://www.boost.org/doc/libs/develop/libs/spirit/doc/x3/html/spirit_x3/quick_reference/numeric.html

Please update the docs.

djowel commented 5 years ago

Thanks. PR appreciated!

wmamrak commented 5 years ago

Hello, Is it the final or temporary behaviour?

djowel commented 5 years ago

Probably final, unless someone wants to implement it.