slang::parsing::LexerOptions struct

Contains various options that can control lexing behavior.

Public variables

uint32_t maxErrors
The maximum number of errors that can occur before the rest of the source buffer is skipped.
LanguageVersion languageVersion
The version of the SystemVerilog language to use.
bool enableLegacyProtect
If true, the preprocessor will support legacy protected envelope directives, for compatibility with old Verilog tools.