json null string error

This commit is contained in:
Olof hagsand 2017-05-09 20:59:50 +02:00
parent 2893bb9b41
commit 683376610c
2 changed files with 127 additions and 0 deletions

View file

@ -259,6 +259,7 @@ valuelist : value
/* quoted string */
string : J_DQ ustring J_DQ { clicon_debug(2,"string->\" ustring \"");$$=$2; }
| J_DQ J_DQ { clicon_debug(2,"string->\" ustring \"");$$=strdup(""); }
;
/* unquoted string */