summaryrefslogtreecommitdiff
path: root/parsing/parser.mly
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez@inria.fr>2016-04-19 14:40:37 +0200
committerDamien Doligez <damien.doligez@inria.fr>2016-04-19 14:50:43 +0200
commit6ba7aa909373728de0a951cb2dc7cb926f8291c7 (patch)
tree208f22078d8fb82259b1c81b8fcf6753edcdfe3d /parsing/parser.mly
parent2605f7798e8d31045756d8ec1f15e531116511ae (diff)
downloadocaml-6ba7aa909373728de0a951cb2dc7cb926f8291c7.tar.gz
whitespace and long lines
Diffstat (limited to 'parsing/parser.mly')
-rw-r--r--parsing/parser.mly3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/parser.mly b/parsing/parser.mly
index 577595e348..58c8a42bdd 100644
--- a/parsing/parser.mly
+++ b/parsing/parser.mly
@@ -1229,7 +1229,8 @@ class_sig_field:
{ mkctf (Pctf_inherit $3) ~attrs:($2@$4) ~docs:(symbol_docs ()) }
| VAL attributes value_type post_item_attributes
{ mkctf (Pctf_val $3) ~attrs:($2@$4) ~docs:(symbol_docs ()) }
- | METHOD attributes private_virtual_flags label COLON poly_type post_item_attributes
+ | METHOD attributes private_virtual_flags label COLON poly_type
+ post_item_attributes
{
let (p, v) = $3 in
mkctf (Pctf_method ($4, p, v, $6)) ~attrs:($2@$7) ~docs:(symbol_docs ())