Permalink
Browse files

fix metadata mode, we need to include subsections..

  • Loading branch information...
1 parent 21e7ade commit 5a80dea7b0c30bd2062e585f25e4ae9f183220ed @lijon committed Mar 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 SCDoc.l
View
@@ -118,6 +118,7 @@ if (scdoc_start_token) {
<metadata,eat>(?i:[ \t]*keyword::[ \t]*) BEGIN(metadata); return KEYWORD;
<metadata,eat>(?i:[ \t]*private::[ \t]*) BEGIN(metadata); return PRIVATE;
<metadata,eat>(?i:[ \t]*section::[ \t]*) BEGIN(metadata); return SECTION;
+<metadata,eat>(?i:[ \t]*subsection::[ \t]*) BEGIN(metadata); return SUBSECTION;
<metadata,eat>(?i:[ \t]*copymethod::[ \t]*) BEGIN(metadata); return COPYMETHOD;
<metadata,eat>(?i:[ \t]*method::[ \t]*) BEGIN(metadata); return METHOD;
<metadata,eat>(?i:[ \t]*description::[ \t\n]*) BEGIN(eat); return DESCRIPTION;

0 comments on commit 5a80dea

Please sign in to comment.