Doug Evans
d30f5e1f70
PR exp/11926
* parser-defs.h (parse_float, parse_c_float): Declare.
* parse.c (parse_float, parse_c_float): New function.
* c-exp.y (parse_number): Call parse_c_float.
* objc-exp.y (parse_number): Ditto.
* p-exp.y (parse_number): Ditto. Use ANSI/ISO-style definition.
* jv-exp.y (parse_number): Call parse_float, fix suffix handling.
testsuite/
* gdb.base/printcmds.exp (test_float_accepted): New function.
Move existing float tests there. Add tests for floats with suffixes.
(test_float_rejected): New function.
* gdb.java/jv-print.exp (test_float_accepted): New function.
(test_float_rejected): New function.
* gdb.objc/print.exp: New file.
* gdb.pascal/print.exp: New file.
* lib/objc.exp: New file.
2010-08-19 13:33:15 +00:00
..
2010-01-01 07:32:07 +00:00
2010-01-01 07:32:07 +00:00
2010-01-01 07:32:07 +00:00
2010-01-01 07:32:07 +00:00
2010-01-01 07:32:07 +00:00
2010-08-18 16:37:22 +00:00
2010-07-30 19:59:42 +00:00
2010-01-12 00:50:26 +00:00
2010-08-18 16:37:22 +00:00
2010-03-15 03:43:13 +00:00
2010-08-19 13:33:15 +00:00
2010-08-18 16:37:22 +00:00
2010-07-05 18:02:56 +00:00
2010-01-01 07:32:07 +00:00
2010-03-23 21:32:28 +00:00