Change main to read a single token and print
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "hi " << endl;
|
||||
string s;
|
||||
cin >> s;
|
||||
|
||||
Lexer l(s);
|
||||
cout << l.next() << endl;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user