Realized for the first time tonight that C++ keywords aren't actually "tokens" in the same way that all the rest of the tokens are...
-
-
Well, in my (relatively simplistic language), I read the entire identifier and then see if it matches a keyword (1/2)
-
while(matches identifier pattern) { read token } if(string_read == "my_keyword") return TOK_KW_SOMETHING; (2/2)
- Show replies
New conversation -
-
-
Compare < and << and <<=, though. Same rules, different char subsets.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.