Commit 265411b6 by Tom Tromey Committed by Tom Tromey

lang.c (java_handle_option): OPT_fbootclasspath_ can take an empty argument.

	* lang.c (java_handle_option): OPT_fbootclasspath_ can take an
	empty argument.

From-SVN: r67778
parent 1ff9402d
2003-06-11 Tom Tromey <tromey@redhat.com>
* lang.c (java_handle_option): OPT_fbootclasspath_ can take an
empty argument.
2003-06-10 Andrew Haley <aph@redhat.com> 2003-06-10 Andrew Haley <aph@redhat.com>
* resource.c (write_resource_constructor): Use expand_expr to * resource.c (write_resource_constructor): Use expand_expr to
......
...@@ -274,10 +274,11 @@ java_handle_option (size_t scode, const char *arg, int value) ...@@ -274,10 +274,11 @@ java_handle_option (size_t scode, const char *arg, int value)
if (arg == NULL && (option->flags & (CL_JOINED | CL_SEPARATE))) if (arg == NULL && (option->flags & (CL_JOINED | CL_SEPARATE)))
{ {
/* These can take an emtpy argument. */ /* These can take an empty argument. */
if (code == OPT_fassume_compiled_ if (code == OPT_fassume_compiled_
|| code == OPT_fclasspath_ || code == OPT_fclasspath_
|| code == OPT_fCLASSPATH_) || code == OPT_fCLASSPATH_
|| code == OPT_fbootclasspath_)
arg = ""; arg = "";
else else
{ {
......
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