From: helly Date: Sat, 8 Apr 2006 23:05:21 +0000 (+0000) Subject: - Clearify difference X-Git-Tag: 0.13.6~417 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de90026b63163839f81ae494ad0f72959a25ea2e;p=re2c - Clearify difference --- diff --git a/code.cc b/code.cc index cc3e0b5e..f695e42b 100644 --- a/code.cc +++ b/code.cc @@ -1367,10 +1367,10 @@ void DFA::emit(std::ostream &o, uint ind) // Generate prolog o << "\n" << outputFileInfo; + o << indent(ind++) << "{\n"; if (!fFlag) { - o << indent(ind++) << "{\n"; o << indent(ind) << "YYCTYPE yych;\n"; if (bUsedYYAccept) { @@ -1379,7 +1379,7 @@ void DFA::emit(std::ostream &o, uint ind) } else { - o << indent(ind++) << "{\n\n"; + o << "\n"; } if (fFlag && start_label == 0)