Add --print-tokens long option to dump Remind tokens to stdout.

This commit is contained in:
Dianne Skoll
2024-09-08 10:29:49 -04:00
parent 7236441e02
commit 8a5b88338b
5 changed files with 77 additions and 7 deletions
+9
View File
@@ -1198,3 +1198,12 @@ set_components_from_lat_and_long(void)
}
}
void
print_sysvar_tokens(void)
{
int i;
printf("\n# System Variables\n\n");
for (i=0; i< (int) NUMSYSVARS; i++) {
printf("$%s\n", SysVarArr[i].name);
}
}