Refs #1270. Fix a typo.

This commit is contained in:
Alexander Ljungberg
2011-05-19 21:50:30 -04:00
parent e1cd4d0f6e
commit 1c201d7dba
@@ -44,7 +44,7 @@ def makeHeaderFileFrom(fileName)
sourceFile.close()
# If an implementation does not have an ivar block or an empty ivar block,
# an one with a dummy ivar so that doxygen will parse the file correctly.
# add one with a dummy ivar so that doxygen will parse the file correctly.
source.gsub!(/^\s*(@implementation \s*\w+(?:\s*:\s*\w+)?)\n(\s*[^{])/, "\\1\n{\n#{DUMMY_IVAR}\n}\n\\2")
source.gsub!(/^\s*(@implementation \s*\w+(?:\s*:\s*\w+)?)\n\s*\{\s*\}/, "\\1\n{\n#{DUMMY_IVAR}\n}")