# | Line 2 | Line 2 | |
---|---|---|
2 | * Project led by Terence Parr at http://www.jGuru.com | |
3 | * Software rights: http://www.antlr.org/license.html | |
4 | * | |
5 | < | * $Id: String.cpp,v 1.1 2005-12-02 15:38:02 tim Exp $ |
5 | > | * $Id$ |
6 | */ | |
7 | ||
8 | #include "antlr/String.hpp" | |
# | Line 38 | Line 38 | ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_ | |
38 | ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string& lhs, size_t rhs ) | |
39 | { | |
40 | char tmp[100]; | |
41 | < | sprintf(tmp,"%u",rhs); |
41 | > | sprintf(tmp,"%lu",(unsigned long)rhs); |
42 | return lhs+tmp; | |
43 | } | |
44 |
# | Line 0 | Line 1 | |
---|---|---|
1 | + | Author Id Revision Date |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |