[Nice-commit] Nice/src/bossa/syntax StringConstantExp.java,1.10,1.11
Brought to you by:
bonniot
From: <ar...@us...> - 2004-01-18 03:33:40
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv5036/F:/nice/src/bossa/syntax Modified Files: StringConstantExp.java Log Message: Fix for bug #879027(printing of strings with escaped chars). Index: StringConstantExp.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/StringConstantExp.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** StringConstantExp.java 1 Oct 2003 21:49:03 -0000 1.10 --- StringConstantExp.java 18 Jan 2004 03:33:37 -0000 1.11 *************** *** 31,38 **** { className = stringName; - this.escapedValue = value; if (multiline) value = escapeEOL(value); this.value=unescape(value); } --- 31,38 ---- { className = stringName; if (multiline) value = escapeEOL(value); + this.escapedValue = value; this.value=unescape(value); } *************** *** 118,122 **** public String toString() { ! return "\""+value+"\""; } --- 118,122 ---- public String toString() { ! return "\""+escapedValue+"\""; } |