diff options
| author | James Cherti | 2026-01-29 08:29:39 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2026-03-02 14:32:54 +0200 |
| commit | b3c0aee42b086af4b3c6e26da1a5d81490b6128b (patch) | |
| tree | 20d16e19686376a70b173b9d368ec6f5c1b15df2 /lib/libtask/taskimpl.h | |
| parent | f88d4a0d7b5de14fb7d7e492ec210c84c93b5af7 (diff) | |
| download | emacs-b3c0aee42b086af4b3c6e26da1a5d81490b6128b.tar.gz emacs-b3c0aee42b086af4b3c6e26da1a5d81490b6128b.zip | |
sh-script: Mark + and * as punctuation rather than a symbol constituent
In Bash, the characters + and * are not valid in variable names.
In sh, they are also disallowed in both function and variable
names. Treating them as punctuation is appropriate, as they most
commonly appear as operators.
Examples:
. Arithmetic: $((var1*var2))
. Compound assignment: list_name+=("item")
* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Mark + and *
as punctuation in the syntax table. (Bug#80280)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lib/libtask/taskimpl.h')
0 files changed, 0 insertions, 0 deletions