Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Read the next token, dealing with nested IFs
- function next() {
- const n = read()
- if (n == "IF") {
- while (next() != "FI")
- ;
- }
- return n
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement