From 0e7268310b1fcac999a1b3f4e8f6f9b68e7783fc Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sun, 5 Jan 2014 22:12:48 +0100 Subject: Handle EQIdent (expressions such as A::x and A::f(x, y) --- src/pretty.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pretty.ml') 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) -- cgit v1.2.3