Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Several issues in code #118
Need C++ programmers who can explore next situations in the code. There are possible problems described by the links.
However, I am wondering what this elist is used for elsewhere in the code anyway. Seems like a normal stl list to me.
2 http://stackoverflow.com/questions/4423703/in-c-how-does-the-expression-pointer-work apparently ++ has higher priority than * so it will first increment the pointer and then dereference it. Check if that is actually the intended behaviour and add () for clarity. Surprisingly good warning messages. :D
I suspect in the code samples, it works as intended because it first checks if current value is token separator:
So, making it *(ptr++) everywhere should surpress the warning and not break stuff.