Commit Graph

14 Commits

Author SHA1 Message Date
Reijo Tomperi 51024235a3 Refactoring: TOKEN::next renamed to _next, getter and setter functions for it added next() and next(TOKEN*). 2008-12-08 21:49:05 +00:00
Reijo Tomperi 25847fdec4 Refactoring: TOKEN::varId was moved from public to private 2008-12-08 17:45:55 +00:00
Reijo Tomperi b2e55216ab Fixed bug in TOKEN::multiCompare. "abc" and "a" were matched. 2008-12-07 19:06:01 +00:00
Daniel Marjamäki 202c613e70 TODO: Added a todo for refactoring TOKEN::Match 2008-12-06 13:21:33 +00:00
Reijo Tomperi a669d020cf Token: Fixed bug in match function, simplified CheckBufferOverrun code 2008-12-05 20:37:05 +00:00
Reijo Tomperi a4d4305919 Bug fix: Minor bug in previous commit, test added to catch that bug also. 2008-12-04 21:52:40 +00:00
Reijo Tomperi c958482196 TOKEN: Match() function improved, %any% and const|volatile kind of patterns are now accepted. Simplified comparing on tokenize.cpp. 2008-12-04 21:48:15 +00:00
Daniel Marjamäki b179083788 token: refactoring the 'isStandardType' a little 2008-11-26 07:22:34 +00:00
Daniel Marjamäki bc267bbca5 TOKEN: Refactoring the 'str' member variable 2008-11-24 19:38:08 +00:00
Reijo Tomperi c022057c70 bug fix, didn't compile on Linux (3 utf characters on top of file again) 2008-11-24 08:59:10 +00:00
Daniel Marjamäki e0027bef66 Borland C++: Minor updates so cppcheck compiles with Borland C++ 2008-11-24 07:35:03 +00:00
Reijo Tomperi a6ad4045d4 Refactoring: IsName() and IsNumber() are no longer static and they don't take a parameter. 2008-11-23 12:21:40 +00:00
Reijo Tomperi 0b2e7a0ef3 Refactoring: at() changed to tokAt() and getstr() changed to strAt() 2008-11-23 10:09:16 +00:00
Reijo Tomperi 3ba83b6620 Refactoring: token.* files added, Some functions from Tokenizer moved under TOKEN. Renamed few functions, like gettok() -> at(), combineWithNext() and deleteNext() are also new
names for old functions. Usage was gettok( tok, 2 ), but now it is tok->at( 2 ).
2008-11-22 22:49:14 +00:00