Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ECC: Fix array type variable doxygen comment check
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1282 7335b38e-4728-0410-8992-fb3ffe349368
  • Loading branch information
jlin16 committed Jul 9, 2008
1 parent bd25aab commit 3473a54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Python/Ecc/c.py
Expand Up @@ -299,6 +299,10 @@ def GetParamList(FuncDeclarator, FuncNameLine = 0, FuncNameOffset = 0):
ParamModifier += ' ' + '*'
DeclText = DeclText.lstrip('*').strip()
ParamName = DeclText
# ignore array length if exists.
LBIndex = ParamName.find('[')
if LBIndex != -1:
ParamName = ParamName[0:LBIndex]

Start = RightSpacePos
Index = 0
Expand Down

0 comments on commit 3473a54

Please sign in to comment.