Commit c29c4fd4 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-data: Fix infinite recursion on positive doubles

A c&p typo made the DOUBLE_POSITIVE terminal defined upon itself, it
should be defined on top of DOUBLE.
parent 890a5f82
...@@ -1958,7 +1958,7 @@ terminal_DOUBLE_POSITIVE (const gchar *str, ...@@ -1958,7 +1958,7 @@ terminal_DOUBLE_POSITIVE (const gchar *str,
const gchar **str_out) const gchar **str_out)
{ {
ACCEPT_CHAR ((ch == '+')); ACCEPT_CHAR ((ch == '+'));
return terminal_DOUBLE_POSITIVE (str, end, str_out); return terminal_DOUBLE (str, end, str_out);
} }
/* INTEGER_NEGATIVE ::= '-' INTEGER /* INTEGER_NEGATIVE ::= '-' INTEGER
......
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