From 5a76c5d2f39ad087b5153d458503caabb871c513 Mon Sep 17 00:00:00 2001 From: Lee Duhem Date: Mon, 15 Dec 2014 16:32:08 +0800 Subject: Fix parsing of binary floating point number * tccpp.c (parse_number): `shift' should be 1 while parsing binary floating point number. * tests/tests2/70_floating_point_literals.c: New test cases for floating point number parsing. --- tests/tests2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/tests2/Makefile') diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 924f03c..8e11f2c 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -88,7 +88,8 @@ TESTS = \ 66_macro_concat_end.test \ 67_macro_concat.test \ 68_macro_param_list_err_1.test \ - 69_macro_param_list_err_2.test + 69_macro_param_list_err_2.test \ + 70_floating_point_literals.test # 34_array_assignment.test -- array assignment is not in C standard -- cgit v1.3.1