Skip to content

Commit

Permalink
Exclude Eiffel's keyword result (#498)
Browse files Browse the repository at this point in the history
We exclude the keyword ``result`` from the list of the check for
reserved keywords in the translation phase. The keyword is already a
part of the AAS Server specification, so we can not roll back on this
one, unfortunately.
  • Loading branch information
mristin authored Jun 19, 2024
1 parent 18769f7 commit 3c69322
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aas_core_codegen/parse/_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,11 @@ def _verify_symbol_table(
"rename",
"require",
"rescue",
"result",
# NOTE (mristin, 2024-06-19):
# We exclude the keyword ``result`` from the checks as the AAS server
# API at version 3.0 already uses it for one of the object properties.
# We have to work around it in the code generator for Eiffel SDK.
# "result",
"retry",
"select",
"separate",
Expand Down

0 comments on commit 3c69322

Please sign in to comment.