Generate a loop error if the variable is not a symbol for the string
codepoint and glyph iterators.