libgraphqlparser icon indicating copy to clipboard operation
libgraphqlparser copied to clipboard

Locations not properly updated when parsing multi-line block strings

Open ErikWittern opened this issue 6 years ago • 0 comments

Currently, the parser considers multi-line block strings wrongly to be placed in a single long line. For example, this block string is considered to have the location:

{"start": {"line": 49,"column":56}, "end": {"line":49,"column":96}}"

...whereas it should end in line 53, column 6. Subsequent locations are correspondingly off by a few lines.

ErikWittern avatar Aug 01 '19 12:08 ErikWittern