qore icon indicating copy to clipboard operation
qore copied to clipboard

qdx is confused with unpaired curly brackets in %ifdef

Open tmandys opened this issue 7 years ago • 0 comments

public setPattern(string pattern) {
%ifdef _DUMMY_TO_PAIR_BRACES_IN_KATE_EDITOR
/{/
%endif
  s =~ s/^[0-9.-]*[a-zA-Z]+({[^}]*})?//;
}

Even it is exceptional case then qdx should provide a info where the issue occurs. Currently just show exception without any context to source file. Alternatively a verbose mode where is printed every line is simple workaround to get wrere is problem.

tmandys avatar Feb 26 '18 12:02 tmandys