Skip to content

Context clause not supported #16

@avelure

Description

@avelure

The following code fails to parse with VHDLParser block-stream context.vhd

library test_lib;
context test_lib.test_context;

With the output

================================================================================
                        pyVHDLParser - Test Application
================================================================================
[StartOfDocumentBlock]
[Library.StartBlock                                 'library '                                                     at (line:   1, col:  1) .. (line:   1, col:  8)]
[Library.LibraryNameBlock                           'test_lib'                                                     at (line:   1, col:  9) .. (line:   1, col: 17)]
[Library.EndBlock                                   ';'                                                            at (line:   1, col: 17) .. (line:   1, col: 17)]
[LinebreakBlock                                                                                                    at (line:   1, col: 18) .. (line:   1, col: 18)]
ERROR: Expected whitespace after context name (identifier).

From the context.py code it looks like only context declaration is implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions