Commit 0a811e96 by Basile Starynkevitch Committed by Basile Starynkevitch

plugin.c (parse_plugin_arg_opt): Accept equal sign inside plugin argument.

2013-09-20  Basile Starynkevitch  <basile@starynkevitch.net>

	* plugin.c (parse_plugin_arg_opt): Accept equal sign inside 
          plugin argument.

From-SVN: r202783
parent 0078f462
2013-09-20 Basile Starynkevitch <basile@starynkevitch.net>
* plugin.c (parse_plugin_arg_opt): Accept equal sign inside
plugin argument.
2013-09-20 Basile Starynkevitch <basile@starynkevitch.net>
* gengtype.c (file_rules): Added rule for *.cc files.
(get_output_file_with_visibility): Give fatal message when no
rules found.
......
......@@ -241,16 +241,13 @@ parse_plugin_arg_opt (const char *arg)
}
else if (*ptr == '=')
{
if (key_parsed)
{
error ("malformed option -fplugin-arg-%s (multiple '=' signs)",
arg);
return;
}
key_len = len;
len = 0;
value_start = ptr + 1;
key_parsed = true;
if (!key_parsed)
{
key_len = len;
len = 0;
value_start = ptr + 1;
key_parsed = true;
}
continue;
}
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