diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-05 22:18:52 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-05 22:18:52 +0100 |
commit | b7e859a5bf9fccb9f5745d1dd7dacdaed8bc2ec3 (patch) | |
tree | 82309de4f1cb4796f82c3132b84d91c4d63f7c39 /src/pretty.ml | |
parent | 7e880634a685c685d137ba2625ce341262e5a8e0 (diff) | |
parent | f22f13c56832da810e297039f858f8b129661a4b (diff) | |
download | LPC-Projet-b7e859a5bf9fccb9f5745d1dd7dacdaed8bc2ec3.tar.gz LPC-Projet-b7e859a5bf9fccb9f5745d1dd7dacdaed8bc2ec3.zip |
Merge branch 'codegen-alex' into codegen-alex-opt
Conflicts:
src/Makefile
Diffstat (limited to 'src/pretty.ml')
-rw-r--r-- | src/pretty.ml | 1 |
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) |