mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-15 07:37:50 +00:00
Some more tests for :treat_include: with extern + some comments
This commit is contained in:
@@ -141,7 +141,7 @@ class CMockHeaderParser
|
||||
if (@treat_inline == :include)
|
||||
src_lines.each {
|
||||
|src_line|
|
||||
src_line.gsub!(/^inline/, "")
|
||||
src_line.gsub!(/^inline/, "") # Remove "inline" so that they are 'normal' functions
|
||||
}
|
||||
else
|
||||
src_lines.delete_if {|line| !(line =~ /(?:^|\s+)(?:inline)\s+/).nil?} # remove inline functions
|
||||
|
||||
Reference in New Issue
Block a user