Implement inline tables

This commit is contained in:
Thomas Pelletier
2015-08-19 10:24:53 -07:00
parent f58048cec0
commit dd4c4ffc2b
6 changed files with 131 additions and 16 deletions
+6 -1
View File
@@ -26,6 +26,8 @@ const (
tokenEqual
tokenLeftBracket
tokenRightBracket
tokenLeftCurlyBrace
tokenRightCurlyBrace
tokenLeftParen
tokenRightParen
tokenDoubleLeftBracket
@@ -44,6 +46,7 @@ const (
)
var tokenTypeNames = []string{
"Error",
"EOF",
"Comment",
"Key",
@@ -54,7 +57,9 @@ var tokenTypeNames = []string{
"Float",
"=",
"[",
"[",
"]",
"{",
"}",
"(",
")",
"]]",