1. You might not know a priori that the lexical analysis can be done without any knowledge of the surrounding grammatical context.
2. You may be able to give more informative error messages if you know the grammatical context.
1. You might not know a priori that the lexical analysis can be done without any knowledge of the surrounding grammatical context.
2. You may be able to give more informative error messages if you know the grammatical context.