VBA_LEX001 — Unexpected character¶
Severity: 🔴 error Category: lexer Phase: 0
Description¶
The lexer encountered a character that is not part of any valid VBA token. Often an encoding mistake (smart quotes, Euro sign, …) introduced by copy-paste.
Failing example¶
Compliant example¶
How to fix¶
Replace the offending character with its ASCII equivalent or remove it.
Source: src/rules.py — entry VBA_LEX001.