aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/stack.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2018-03-29 15:00:47 -0700
committerIan Lance Taylor <iant@golang.org>2018-03-29 22:31:57 +0000
commit9967582f770f62f72a349ec276e00dba8639aa26 (patch)
tree335318f9f7d48dff4f65df4d0e109fbefc559613 /test/codegen/stack.go
parent64bf90576e60bce0c2a6acd3d42855ffdc1c2654 (diff)
downloadgo-9967582f770f62f72a349ec276e00dba8639aa26.tar.xz
regexp/syntax: update perl script to preserve \s behavior
Incorporate https://code-review.googlesource.com/#/c/re2/+/3050/ from the re2 repository. Description of that change: Preserve the original behaviour of \s. Prior to Perl 5.18, \s did not match vertical tab. Bake that into make_perl_groups.pl as an override so that perl_groups.cc retains its current definitions when rebuilt with newer versions of Perl. This fixes make_perl_groups.pl to generate an unchanged perl_groups.go with perl versions 5.18 and later. Fixes #22057 Change-Id: I9a56e9660092ed6c1ff1045b4a3847de355441a7 Reviewed-on: https://go-review.googlesource.com/103517 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/codegen/stack.go')
0 files changed, 0 insertions, 0 deletions