Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented May 22, 2024

What the title says. Accompanying the other corresponding patch about Python.

@amotl amotl force-pushed the amo/tests-javascript branch from fe6f449 to 405aaff Compare May 22, 2024 13:04
@amotl amotl requested a review from surister May 22, 2024 13:06
@amotl amotl mentioned this pull request May 22, 2024
@amotl amotl requested a review from seut May 22, 2024 14:56
target = Antlr4Target.python
if input_target.startswith("py"):
target = Antlr4Target.python
elif input_target.startswith("js") or input_target.startswith("java"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why run js when using java? why is java an option?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just a shorthand notation for "javascript".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh, thats why it works when running python setup_grammar.py javascript :D

I'd really prefer to use exact matches... but maybe personal preference.

@amotl amotl requested review from seut and surister May 23, 2024 13:14
@amotl amotl merged commit 4d98ad3 into main May 27, 2024
@amotl amotl deleted the amo/tests-javascript branch May 27, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants