summaryrefslogtreecommitdiff
path: root/src/pretty.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-05 22:13:55 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-05 22:13:55 +0100
commitfa1ac115930822efb86f2c02f87f48bc9bdc3ad0 (patch)
tree79027c1bb4a741816a3ea099b4f2cd26095109a6 /src/pretty.ml
parenta77aecd2aab857dfa7ef50c9017482b3c80fd790 (diff)
parent0e7268310b1fcac999a1b3f4e8f6f9b68e7783fc (diff)
downloadLPC-Projet-fa1ac115930822efb86f2c02f87f48bc9bdc3ad0.tar.gz
LPC-Projet-fa1ac115930822efb86f2c02f87f48bc9bdc3ad0.zip
Merge branch 'master' into codegen-alex
Conflicts: src/Makefile
Diffstat (limited to 'src/pretty.ml')
-rw-r--r--src/pretty.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pretty.ml b/src/pretty.ml
index 5e282e3..0501e99 100644
--- a/src/pretty.ml
+++ b/src/pretty.ml
@@ -90,6 +90,7 @@ let rec expr_string e = match e.e_desc with
| ENull -> "NULL"
| EThis -> "this"
| EIdent(i) -> i
+ | EQIdent(i, j) -> i ^ "::" ^ j
| EAssign(k, p) -> "(" ^ (expr_string k) ^ " = " ^ (expr_string p) ^ ")"
| ECall(e, f) -> (expr_string e) ^ "(" ^ (csl expr_string f) ^ ")"
| EUnary(e, f) -> (unop_str e) ^ (expr_string f)