File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,16 @@ var HashStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
3737 },
3838}
3939
40+ // LispStyleCommentOptions ..
41+ var LispStyleCommentOptions * lege.ParseOptions = & lege.ParseOptions {
42+ Boundaries : []lege.Boundary {
43+ {
44+ Start : ";" ,
45+ End : "\n " ,
46+ },
47+ },
48+ }
49+
4050// Language is a source language (i.e. "Go")
4151type Language string
4252
@@ -57,6 +67,8 @@ var LanguageParseOptions map[Language]*lege.ParseOptions = map[Language]*lege.Pa
5767 "Objective-C" : CStyleCommentOptions ,
5868 "Groovy" : CStyleCommentOptions ,
5969 "Swift" : CStyleCommentOptions ,
70+ "Common Lisp" : LispStyleCommentOptions ,
71+ "Emacs Lisp" : LispStyleCommentOptions ,
6072}
6173
6274// Comments is a list of comments
You can’t perform that action at this time.
0 commit comments