diff options
author | Alex Elder <elder@linaro.org> | 2021-10-01 18:23:29 -0500 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-04 12:32:25 -0500 |
commit | 83931b750fc3f56c2aeb8b747d6b51abdbcba697 (patch) | |
tree | d5db1f0d5b090e6a22a0fe204f918ed0663d6059 /LICENSE | |
parent | 61f6fe9d1c4cfbcc1cf8f00861ff06a4639a4c2e (diff) |
parser: introduce qmi_package_parse()
Rename parse_package() to be qmi_package_parse(), and have it assign
the qmi_package pointer internally rather returning it. This makes
the function name match the pattern used for all other production
rules.
The one caller of qmi_package_parse() assumes the package name has
been specified. When parsing has completed, check to ensure the
package is specified, and only allow it to be specified once.
Signed-off-by: Alex Elder <elder@linaro.org>
Message-Id: <20211001232338.769309-26-elder@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions