fix #1372
This commit is contained in:
parent
17b29c2770
commit
8207b5f481
|
|
@ -614,6 +614,8 @@ namespace CodeFormatters
|
|||
comm = trimedstr;
|
||||
if (trimedstr.Length >= 2 && trimedstr[0] == '(' && trimedstr[trimedstr.Length - 1] == ')' && trimedstr.Replace("(", "").Replace(")", "").Trim() == "")
|
||||
comm = "()";
|
||||
else if (trimedstr.Length >= 2 && trimedstr[0] == '(' && trimedstr[trimedstr.Length - 1] == ';')
|
||||
comm = trimedstr.Replace(" ", "");
|
||||
if (trimedstr.StartsWith("; "))
|
||||
{
|
||||
comm = "; " + trimedstr.Substring(1).TrimStart(' ', '\t');
|
||||
|
|
|
|||
Loading…
Reference in a new issue