We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ccf1b3 + d8ed7da commit 1a466bfCopy full SHA for 1a466bf
coq/coqtags
@@ -59,13 +59,13 @@ while(<>)
59
elsif($stmt=~/^([ \t]*((Axiom)|(Hypothesis)|(Parameter)|(Variable))\s+[\w\']+)/)
60
{ adddecs($stmt,$1); }
61
62
- elsif($stmt=~/^([ \t]*((Definition)|(Fixpoint)|(Inductive)|(CoInductive)|(Record)|(Variant))\s+([\w\']+))/)
+ elsif($stmt=~/^([ \t]*((Definition)|(Fixpoint)|(Inductive)|(CoInductive)|(Record|Class)|(Variant))\s+([\w\']+))/)
63
{
64
$tagstring.=$1."\177".$9."\001".$lp.",".$cp."\n";
65
if($2 eq "Inductive" || $2 eq "CoInductive" || $2 eq "Variant"){
66
add_constructors($stmt);
67
}
68
- elsif($2 eq "Record"){
+ elsif($2 eq "Record" || $2 eq "Class"){
69
add_record_labels($stmt, $8);
70
71
0 commit comments