diff options
author | alandonovan <adonovan@google.com> | 2021-02-08 12:20:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 12:20:22 -0500 |
commit | 0a10e4fe7402e37a43d9b62c15bfeac1cd4ef272 (patch) | |
tree | 33fd5d4434befd04b6dcc7650f57896cbb992951 /starlark/testdata | |
parent | bc864be25151710e5d1c992993e31b5543e779e1 (diff) | |
download | starlark-go-0a10e4fe7402e37a43d9b62c15bfeac1cd4ef272.tar.gz |
syntax: support setting initial line/col for scanner (#349)
The new FilePortion type, which may be provided to the scanner,
parser, or ExecFile functions, combines a piece of text along
with its start line/column numbers, for applications that
extract a Starlark expression from the middle of a larger file.
Fixes https://github.com/google/starlark-go/issues/346
Diffstat (limited to 'starlark/testdata')
0 files changed, 0 insertions, 0 deletions