bradleymeck: while(c=content.charAt(i++)) { switch(state) { ... }}