eirikpre / VSCode-SystemVerilog

SystemVerilog support in VS Code
MIT License
128 stars 50 forks source link

FILENAME in LEX.g4 is overly restrictive #127

Closed DanChianucci closed 2 years ago

DanChianucci commented 3 years ago

The FILENAME token defined in LexRules.g4 includes hardcoded filename extension.
Attempting to include a a file which has an extension other than .sv or .v results in an error message

Examples of other commonly used extensions would be : .svh, .svi, and files without an extension.