Fix: no-unused-expressions directive support (fixes #1185)