summary refs log tree commit diff
path: root/src/funcs/pushd
diff options
context:
space:
mode:
authorHarald van Dijk <harald@gigawatt.nl>2018-03-08 08:37:11 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-22 00:25:35 +0800
commit6bbc71d84bea101370830dc3272f51c5ec1a7a78 (patch)
treed076148ae83b61feceb358170ffc0dc45bc0b832 /src/funcs/pushd
parentbuiltin: Greater resolution in test -nt / test -ot (diff)
downloaddash-6bbc71d84bea101370830dc3272f51c5ec1a7a78.tar.gz
dash-6bbc71d84bea101370830dc3272f51c5ec1a7a78.zip
parser: use pgetc_eatbnl() in more places
dash has a pgetc_eatbnl function in parser.c which skips any
backslash-newline combinations. It's not used everywhere it could be.
There is also some duplicated backslash-newline handling elsewhere in
parser.c. Replace most of the calls to pgetc() with calls to
pgetc_eatbnl() and remove the duplicated backslash-newline handling.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/pushd')
0 files changed, 0 insertions, 0 deletions
0ade459954384d9f6980c156b73c5ad198&follow=1'>Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe