rjdbcm / Aspidites

The reference implementation of the Woma Programming Language compiler.
http://aspidites.org
GNU General Public License v3.0
2 stars 1 forks source link

context managers get eaten by the preceding code blocks #31

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

context managers get eaten by the preceding code blocks

https://github.com/rjdbcm/Aspidites/blob/b1ba3cc4f9fdba56dc26b87538995236bd4318ea/Aspidites/parser/parser.py#L246


              | func_call
              | match_def
              ))
# TODO context managers get eaten by the preceding code blocks
context_suite <<= IndentedBlock(OneOrMore(contract_assign
                                          | match_def
                                          | func_call)).setParseAction(

88019d67558fcc508c130c3cbf4e09f1d3d52283