Skip to content

Commit 4b45624

Browse files
committed
Allow spaces in macro arguments
1 parent a739113 commit 4b45624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/Plugins/HaXeContext/Completion/HaxeComplete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private void EscapeMacros(List<string> hxmlArgs)
159159
{
160160
Match m = reMacro.Match(arg);
161161
if (m.Success)
162-
hxmlArgs[i] = m.Groups[1].Value + " " + EscapeQuotes(m.Groups[2].Value.Trim());
162+
hxmlArgs[i] = m.Groups[1].Value + " \"" + EscapeQuotes(m.Groups[2].Value.Trim()) + "\"";
163163
}
164164
}
165165
}

0 commit comments

Comments
 (0)