Commit 9ea4b4b0 authored by Morten Welinder's avatar Morten Welinder

Parser: fix ABR.

parent 83d90bd3
2016-01-23 Morten Welinder <terra@gnome.org>
* src/parser.y (yylex): Be careful about overflowing numeric
token. Fixes #761023.
2016-01-20 Morten Welinder <terra@gnome.org> 2016-01-20 Morten Welinder <terra@gnome.org>
* src/complex.h: Namespace. Mostly for macros. * src/complex.h: Namespace. Mostly for macros.
......
...@@ -15,6 +15,7 @@ Morten: ...@@ -15,6 +15,7 @@ Morten:
* Fuzzed file fixes. [#760046] [#760085] [#760087] [#760089] * Fuzzed file fixes. [#760046] [#760085] [#760087] [#760089]
[#760043] [#760103] [#760102] [#760101] [#760105] [#760106] [#760043] [#760103] [#760102] [#760101] [#760105] [#760106]
[#760104] [#760229] [#760231] [#760232] [#760544] [#760545] [#760104] [#760229] [#760231] [#760232] [#760544] [#760545]
[#761023]
* Fix R.DBINOM extreme-value case. [#760230] * Fix R.DBINOM extreme-value case. [#760230]
* New function AGM. * New function AGM.
* Fix canvas problem leaving grab in place. [#760639] * Fix canvas problem leaving grab in place. [#760639]
......
...@@ -1260,6 +1260,8 @@ yylex (void) ...@@ -1260,6 +1260,8 @@ yylex (void)
state->ptr = g_utf8_next_char (state->ptr); state->ptr = g_utf8_next_char (state->ptr);
} while (g_unichar_isdigit (c)); } while (g_unichar_isdigit (c));
is_number = TRUE; is_number = TRUE;
if (c == 0)
state->ptr--;
} }
if (is_number) { if (is_number) {
......
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