Finish refactoring of DomCodeToUsLayoutKeyboardCode().
[chromium-blink-merge.git] / third_party / stp / bison.py
blob947ea3f49f5f1ed83cffb8b260e091604a99ae5a
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import subprocess
6 import sys
8 (source, name, out,) = sys.argv[1:]
10 subprocess.check_call([
11 "bison",
12 "--debug",
13 "-Wnone",
14 "-o", out + ".cpp",
15 "--defines=" + out + ".hpp",
16 "-p", name,
17 source,