From: erickson Date: Thu, 4 Aug 2005 18:26:45 +0000 (+0000) Subject: now allow S and E in class hints :) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7a8e7abe76f638575870c46e0669fa7d7695d8f4;p=opensrf%2Fbjwebb.git now allow S and E in class hints :) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@462 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/objson/json_parser.c b/src/objson/json_parser.c index db47fb5..ac0de5f 100644 --- a/src/objson/json_parser.c +++ b/src/objson/json_parser.c @@ -633,6 +633,11 @@ int json_eat_comment(char* string, unsigned long* index, char** buffer, int pars (*index)--; /* this will get incremented at the bottom of the loop */ in_hint = 1; break; + } + + if(second_dash && in_hint) { + buffer_add_char(buf, c); + break; } case 'E': @@ -645,6 +650,11 @@ int json_eat_comment(char* string, unsigned long* index, char** buffer, int pars break; } + if(second_dash && in_hint) { + buffer_add_char(buf, c); + break; + } + case '*': on_star = 1; break;