aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-30 17:58:39 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-30 17:58:39 +0000
commit74149595de064572661d10f736c6cb2eda78db8d (patch)
treea35abfd0e28d9677d7bdf81dc588bc7b05833a9f
parentd96d949cad87c7650300f74487e81a714f4df49a (diff)
Documentation: fix escaping in JSON example
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173950 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/JSONCompilationDatabase.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/JSONCompilationDatabase.rst b/docs/JSONCompilationDatabase.rst
index bb008845ed..926dcba6a4 100644
--- a/docs/JSONCompilationDatabase.rst
+++ b/docs/JSONCompilationDatabase.rst
@@ -57,7 +57,7 @@ Example:
[
{ "directory": "/home/user/llvm/build",
- "command": "/usr/bin/clang++ -Irelative -DSOMEDEF='\"With spaces and quotes.\"' -c -o file.o file.cc",
+ "command": "/usr/bin/clang++ -Irelative -DSOMEDEF=\"With spaces, quotes and \\-es.\" -c -o file.o file.cc",
"file": "file.cc" },
...
]