Skip to content
Snippets Groups Projects
Commit 3d864091 authored by Chris's avatar Chris
Browse files

Update python template to fix errors with for loops.

parent 64787ee5
Branches
No related tags found
No related merge requests found
...@@ -149,25 +149,25 @@ BRelation(<elements; separator=", ">) ...@@ -149,25 +149,25 @@ BRelation(<elements; separator=", ">)
iteration_construct_enumeration(otherIterationConstructs, type, identifier, set, body) ::= << iteration_construct_enumeration(otherIterationConstructs, type, identifier, set, body) ::= <<
<otherIterationConstructs> <otherIterationConstructs>
for(<identifier> in <set>): for <identifier> in <set>:
<body> <body>
>> >>
iteration_construct_assignment(otherIterationConstructs, type, identifier, set, body) ::= << iteration_construct_assignment(otherIterationConstructs, type, identifier, set, body) ::= <<
<otherIterationConstructs> <otherIterationConstructs>
for(<identifier> in <set>): for <identifier> in <set>:
<body> <body>
>> >>
iteration_construct_subset(otherIterationConstructs, type, identifier, set, body) ::= << iteration_construct_subset(otherIterationConstructs, type, identifier, set, body) ::= <<
<otherIterationConstructs> <otherIterationConstructs>
for(<identifier> in <set>.pow()): for <identifier> in <set>.pow():
<body> <body>
>> >>
iteration_construct_subsetneq(otherIterationConstructs, type, identifier, set, body) ::= << iteration_construct_subsetneq(otherIterationConstructs, type, identifier, set, body) ::= <<
<otherIterationConstructs> <otherIterationConstructs>
for(<identifier> : <set>.pow().difference(<set>)): for <identifier> in <set>.pow().difference(<set>):
<body> <body>
>> >>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment