Skip to content

Commit 888e77b

Browse files
yileicopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 622939282
1 parent 7a14ec8 commit 888e77b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nisaba/scripts/utils/grammars.bzl

+3-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def nisaba_compile_script_lang_multi_grm_py(
150150
for script, lang in script_langs:
151151
# Generates copies of the .py with different flag value defaults for each
152152
# script, language and token-type values.
153-
# Example: reading_norm_utf8.Deva.hi.py.
154-
out_py_file = "%s.%s.%s.py" % (name_token_type, script, lang)
153+
# Example: reading_norm_utf8_Deva_hi.py.
154+
out_py_file = "%s_%s_%s.py" % (name_token_type, script, lang)
155155
native.genrule(
156156
name = "make_%s" % out_py_file,
157157
srcs = ["%s.py" % name],
@@ -170,6 +170,7 @@ def nisaba_compile_script_lang_multi_grm_py(
170170
lang_dir = "%s/%s" % (script_dir, lang)
171171
nisaba_compile_grm_py(
172172
name = "%s.%s.%s" % (name_token_type, script, lang),
173+
src = out_py_file,
173174
data = data + [
174175
"%s:%s.tsv" % (lang_dir, entry)
175176
for entry in data_per_lang

0 commit comments

Comments
 (0)