From: Dmitri Gribenko Date: Wed, 30 Jan 2013 17:58:39 +0000 (+0000) Subject: Documentation: fix escaping in JSON example X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74149595de064572661d10f736c6cb2eda78db8d;p=clang Documentation: fix escaping in JSON example git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173950 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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" }, ... ]