aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vxrefbas.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vxrefbas.c b/vxrefbas.c
index 5ae6694..c08cb7f 100644
--- a/vxrefbas.c
+++ b/vxrefbas.c
@@ -127,6 +127,9 @@ int main(int argc, char **argv) {
readfile();
parse_header();
+ if(!vntable_ok())
+ die("Program is variable-protected; unprotect it first.");
+
on_var_token = handle_var;
on_start_line = new_line;
on_end_line = end_line;