Skip to content

Allow for matching of isolated code fragments (i.e. with no associated scoping region) #310

@arporter

Description

@arporter

Testing PSyclone with master of fparser has revealed that the new symbol-table functionality causes problems - whenever fparser is used to parse just a fragment (e.g. by calling match directly) then there is no associated scoping region and SYMBOL_TABLES.current_scope (correctly) returns None. We just need to allow for this in the three places where current_scope is used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions