mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-16 19:59:24 +08:00
References of the form $var and ${var} both map to the same structure in the AST, which prevents any later analysis functions from distinguishing them. In preparation for adding checks that need this info, add a Bool to T_DollarBraced that tracks whether the braces were seen at parsing time and update all references so that this change is a no-op.