Commit 3745d7ea by devttys0

Fixed bug where quoted strings couldn't also appear as keyword arguments

No related merge requests found
...@@ -157,7 +157,7 @@ class Signature(object): ...@@ -157,7 +157,7 @@ class Signature(object):
''' '''
quoted_string = get_quoted_strings(data) quoted_string = get_quoted_strings(data)
if quoted_string: if quoted_string:
data = data.replace(quoted_string, "") data = data.replace('"' + quoted_string + '"', "")
return data return data
def one_of_many(self, data, tag): def one_of_many(self, data, tag):
...@@ -195,7 +195,7 @@ class Signature(object): ...@@ -195,7 +195,7 @@ class Signature(object):
if tag.tag in safe_data: if tag.tag in safe_data:
arg = safe_data.split(tag.tag)[1].split(tag.TAG_DELIM_END)[0] arg = safe_data.split(tag.tag)[1].split(tag.TAG_DELIM_END)[0]
return (data, arg) return (data, arg)
def get_math_arg(self, data, tag): def get_math_arg(self, data, tag):
......
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