HartmutKaiser@t-online.de wrote:
If you look at the parser definition, you'll notice, that this particular list parser is designed to parse escaped C-strings, integers or reals separated by commas. I.e. no empty elements. If you would like to make your list_p to match even empty elements, you'd have to make the list_csv_item optional:
list_csv = list_p( !list_csv_item[append(vec_item)], // ---------^ note this exclamation sign! ',' )[append(vec_list)] ;
Ok, I stand corrected. Please disregard my previous comment that "I guess the list_p was not designed to work with null entries". I have a question though: -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net