0

Re-run ppapi/generators/generator.py

Some previous changes left pp_macros.h in an inconsistent state.
Also fixup the generator so that il makes git cl format a noop on it.

Bug: 918951
Change-Id: I0f9bac70831b95e9a1a6ee7b9ba47dd62a88baa4
Reviewed-on: https://chromium-review.googlesource.com/c/1396609
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620088}
This commit is contained in:
Antoine Labour
2019-01-04 22:27:32 +00:00
committed by Commit Bot
parent 04dc409ca1
commit 50c237deca
2 changed files with 3 additions and 4 deletions

@ -3,13 +3,12 @@
* found in the LICENSE file.
*/
/* From pp_macros.idl modified Fri Jun 13 10:40:42 2014. */
/* From pp_macros.idl modified Tue Jun 10 17:37:13 2014. */
#ifndef PPAPI_C_PP_MACROS_H_
#define PPAPI_C_PP_MACROS_H_
#define PPAPI_RELEASE 62
#define PPAPI_RELEASE 60
/**
* @file

@ -276,7 +276,7 @@ class HGen(GeneratorByFile):
release_numbers = re.findall('[\d\_]+', releasestr)
release = re.findall('\d+', release_numbers[-1])[0]
if release:
out.Write('\n#define PPAPI_RELEASE %s\n' % release)
out.Write('#define PPAPI_RELEASE %s\n' % release)
# Generate all interface defines
out.Write('\n')