… args. Although the IEEE standard doesn't explicitly state this is required, the examples added in the SystemVerilog standard show that this is expected. Also add a preprocessor lexical rule to recognise `` inside a macro definition when it is not immediately followed by an identifier.
…esult. $ivlh_to_unsigned, unlike $signed and $signed, can cause a reduction in width. The shared PECallFunction::cast_to_width_ method did not support this.
This avoids variable redeclaration errors.
…uct var. Added proper error handling for duplicate declarations of all variable types.
When replacing macro formal parameters, the preprocessor should not replace matching strings that are not complete tokens. The test for this was incorrect, and failed when a match was found at the start of the replacement text.
The Microsoft C runtime does not support the %zu and %zd formats. Previously these were replaced with %u and %d, but for 64-bit we need to use %llu and %lld.