test comment before several types

* array
* double
* string
* true
* false
* null
This commit is contained in:
Christopher Dunn 2015-01-20 11:11:13 -06:00
parent 66eb72f121
commit 37644abd77
4 changed files with 22 additions and 2 deletions

View File

@ -1,4 +1,5 @@
.={} .={}
// Comment for array
.test=[] .test=[]
.test[0]={} .test[0]={}
.test[0].a="aaa" .test[0].a="aaa"

View File

@ -1,5 +1,6 @@
{ {
"test": "test":
// Comment for array
[ [
{ "a" : "aaa" }, // Comment for a { "a" : "aaa" }, // Comment for a
{ "b" : "bbb" }, // Comment for b { "b" : "bbb" }, // Comment for b

View File

@ -11,4 +11,13 @@
// Multiline comment cpp-style // Multiline comment cpp-style
// Second line // Second line
.cpp-test.c=3 .cpp-test.c=3
.cpp-test.d=4 // Comment before double
.cpp-test.d=4.1
// Comment before string
.cpp-test.e="e-string"
// Comment before true
.cpp-test.f=true
// Comment before false
.cpp-test.g=false
// Comment before null
.cpp-test.h=null

View File

@ -12,6 +12,15 @@
// Multiline comment cpp-style // Multiline comment cpp-style
// Second line // Second line
"c" : 3, "c" : 3,
"d" : 4 // Comment before double
"d" : 4.1,
// Comment before string
"e" : "e-string",
// Comment before true
"f" : true,
// Comment before false
"g" : false,
// Comment before null
"h" : null
} }
} }