projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch to spaces only..
[IRC.git]
/
Robust
/
src
/
IR
/
Tree
/
LiteralNode.java
diff --git
a/Robust/src/IR/Tree/LiteralNode.java
b/Robust/src/IR/Tree/LiteralNode.java
index a080117395e4e6f711ac71f6c7c61a724f5d5018..8cb08821beb4c9332c47f7f0d3478b508ccefd8d 100644
(file)
--- a/
Robust/src/IR/Tree/LiteralNode.java
+++ b/
Robust/src/IR/Tree/LiteralNode.java
@@
-50,9
+50,9
@@
public class LiteralNode extends ExpressionNode {
for(int i=0; i<st.length(); i++) {
char x=st.charAt(i);
if (x=='\n')
- new_st+="\\n";
+
new_st+="\\n";
else if (x=='"')
- new_st+="'"+'"'+"'";
+
new_st+="'"+'"'+"'";
else new_st+=x;
}
return new_st;