Move RDoc --
/++
directives to comments
This commit is contained in:
parent
2dcaeb75ff
commit
be56033248
@ -48,7 +48,7 @@ class Prelude
|
||||
line.rstrip!
|
||||
lineno += 1
|
||||
@preludes[filename] ||= result
|
||||
comment = ($1 || '' if line.sub!(/(?:^|\s+)\#(?:$|[#\s](.*))/, ''))
|
||||
comment = ($1 || '' if line.sub!(/(?:^|\s+)\#(?!\{)(?:$|(?:[#\s]|(?=\W))(.*))/, ''))
|
||||
if !line.empty? or start_line
|
||||
line << "\n"
|
||||
start_line ||= lineno
|
||||
|
Loading…
x
Reference in New Issue
Block a user