diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-09 23:31:05 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-09 23:31:05 +0100 |
commit | 6e7190d226e9bf97c2ea26b1c9e6419c12273bfa (patch) | |
tree | e87bd78eeef5113f0cf14461f387dbcc0ea78b01 /src/parser.mly | |
parent | d260f964d65ef688b2721cad089c9ca4abe84367 (diff) | |
download | LPC-Projet-6e7190d226e9bf97c2ea26b1c9e6419c12273bfa.tar.gz LPC-Projet-6e7190d226e9bf97c2ea26b1c9e6419c12273bfa.zip |
Added rudimentary support for typing class-using expressions ; bug corrections.
Diffstat (limited to 'src/parser.mly')
-rw-r--r-- | src/parser.mly | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.mly b/src/parser.mly index 5594430..71c7842 100644 --- a/src/parser.mly +++ b/src/parser.mly @@ -123,7 +123,7 @@ cls_proto: LPAREN args = separated_list(COMMA, typed_var) RPAREN { {p_ret_type = None; p_name = cls; - p_class = Some cls; + p_class = None; p_args = args; p_loc = $startpos, $endpos } } ; |