Explorar o código

Documentation: fix escaping in JSON example

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173950 91177308-0d34-0410-b5e6-96231b3b80d8
Dmitri Gribenko %!s(int64=12) %!d(string=hai) anos
pai
achega
74149595de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/JSONCompilationDatabase.rst

+ 1 - 1
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" },
       ...
     ]