Skip to content

Parenthesis in string causes processing error #1531

@erick166

Description

@erick166

Environment
VHDL Style Guide (VSG) version: 3.35.0
Windows 11

Describe the bug
VSG fails to process the file and returns the following error:

Error while processing C:/uvvm/uvvm_util/src/string_methods_pkg.vhd:
Error: Unexpected token detected while parsing procedure_call @ Line 760, Column 73 in file C:/uvvm/uvvm_util/src/string_methods_pkg.vhd
       Expecting : )
       Found     : ;

To Reproduce
Steps to reproduce the behavior:

  1. Checkout the latest UVVM version
  2. Run VSG on the file uvvm/uvvm_util/src/string_methods_pkg.vhd
    (Same issue happens with the files func_cov_pkg.vhd and rand_pkg.vhd)

Expected behavior
The error happens when using a parenthesis encompassed by quotes denoting a string, which apparently is detected as a normal parenthesis which is matched with another parenthesis.

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions