summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-02 15:46:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-02 15:46:06 +0200
commitf68e47475778dd21cd47561e4485c5089c376204 (patch)
tree5797caab58a34bc91239e9470f4ac827792e1d7b
parent18f5ad72bf5ce5e39cf295d3b336f67a502dc819 (diff)
Add C++ modeline (-*- C++ -*-) to generated files
-rw-r--r--cli/generator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/generator.cxx b/cli/generator.cxx
index 7b3f688..4623db9 100644
--- a/cli/generator.cxx
+++ b/cli/generator.cxx
@@ -36,7 +36,9 @@ using semantics::path;
namespace
{
static char const cxx_header[] =
- "// This code was generated by CLI, a command line interface\n"
+ "// -*- C++ -*-\n"
+ "//\n"
+ "// This file was generated by CLI, a command line interface\n"
"// compiler for C++.\n"
"//\n\n";