diff options
author | Florian Westphal <fw@strlen.de> | 2024-02-27 15:53:19 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2024-03-01 00:32:14 +0100 |
commit | fb98cb91c575880617e5da2cb6f094525516cb78 (patch) | |
tree | 536622e934f0a0d8f1ca3e8035eb335c06b09f81 /tests/shell/testcases/bitwise | |
parent | 81fc7aee0d523d61077518534036ff10beddb3e9 (diff) |
parser: compact type/typeof set rules
Set/maps keys can be declared either by 'type' or 'typeof' keyword.
Compact this to use a common block for both cases.
The datatype_set call is redundant, remove it:
at this point $3 == $1->key, so this is a no-op.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/bitwise')
0 files changed, 0 insertions, 0 deletions