There is a range failure when an old file differs from the file about to be generated...
commit53efaa468e85c632b757fc7000e8b5fc2d6321da
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 2 May 2013 23:09:08 +0000 (2 23:09 +0000)
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 2 May 2013 23:09:08 +0000 (2 23:09 +0000)
tree1ee9cf4822398a61ae977ea41d3241d247a26a31
parent34d58a296e3b0d3f81f4692a48bc54ec3128c850
There is a range failure when an old file differs from the file about to be generated on a line containing just a '*'.

This CL fixes that issue by having a length check on the appropriate lists.  It also cleans up the naming of the various variables to make it more obvious which ones refer to the old text file and which ones refer to lines to be written.

NOTRY=true
R=binji@chromium.org, sehr@chromium.org
+sehr for Owners

Review URL: https://codereview.chromium.org/14686003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198002 0039d316-1c4b-4281-b951-d872f2087c98
ppapi/generators/idl_outfile.py