High-level Structure ofa scanner
High-level Structure ofa scanner
repeat {
t= getNextToken();
if (t.error) {
print error message;
exit from compiler or recover from the error;}
output_token(t);}
until(t.EOF)
Previous slide
Next slide
Back to the first slide
View Graphic Version