Commit 6a00a4e2 authored by Han Young's avatar Han Young
Browse files

recognize other locales' decimal separator

parent 7139327b
......@@ -103,7 +103,7 @@
make_NUMBER (const std::string &s, const yy::parser::location_type& loc);
%}
knumber [0-9]+|([0-9]+)?"."[0-9]+
knumber [0-9]+|([0-9]+)?("."|",")[0-9]+
%{
// Code run each time a pattern is matched.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment