Skip to content
Snippets Groups Projects
Commit d2237b82 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix grammar for real numbers

Writing 22e-3 was not interpreted as a real and produced an error
message.

2e-3 and 22.e-3 were correctly interpreted.
parent e4775a4d
Branches
Tags
1 merge request!139Fix grammar for real numbers
......@@ -46,7 +46,7 @@ struct real
>,
opt< exponent >
>,
seq< plus< digit, exponent > >
seq< plus< digit > , exponent >
>{};
struct escaped_c : one< '\'', '"', '?', '\\', 'a', 'b', 'f', 'n', 'r', 't', 'v' > {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment