How can i ignore comments in a string based on compiler design?
How can i ignore comments in a string based on compiler design? Question: I want to ignore every comment like { comments } and // comments. I have a pointer named peek that checks my string character by character. I know how to ignore newlines, tabs, and spaces but I don’t know how to ignore …
Total answers: 2