#2692: v.in.ascii does not handle text in qoutes
-------------------------+-------------------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.3
Component: Default | Version: svn-trunk
Resolution: | Keywords: CSV, doublequote, singlequote, text
CPU: | delimiter
Unspecified | Platform: Unspecified
-------------------------+-------------------------------------------------
Comment (by neteler):
Replying to [comment:8 glynn]:
> Replying to [comment:7 mlennert]:
>
> > I propose two small changes (attached tokenise_corrected.diff), one
seems just a typo (in case A_END_RECORD: "*q++ - '\0';") and the other
comes from the fact that when we are in state AFTER_QUOTE and we reach a
delimiter, we have to go back to state S_START. Otherwise if the next
field starts again with a quote, this quote is treated as a second quote.
>
> Indeed, good catches.
>
> Applied as r65499.
The backport is still pending. Sync lib/gis/token.c to trunk?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2692#comment:11>
GRASS GIS <https://grass.osgeo.org>