-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load gherkin parser considering language comment #109
Conversation
REF #34 |
Thank you @vslinko for this pull request. Have you tried loading the russian lexer module directly? Did that work? |
@jbpros what are you mean directly, how is it? |
Error throws not only on russian, but on all languages except english. |
Maybe helps. Modified if (_lexer_trans_actions[_trans] != 0) {
_acts = _lexer_trans_actions[_trans];
_nacts = _lexer_actions[_acts];
_acts += 1;
while (_nacts > 0) {
_nacts -= 1;
_acts += 1;
console.log(_lexer_actions[_acts - 1]) // <<< print used actions by lexer
switch (_lexer_actions[_acts - 1]) { Feature: # language: ru
Функционал: Сложение чисел
Чтобы не складывать в уме
Все, у кого с этим туго
Хотят автоматическое сложение целых чисел
Сценарий: Сложение двух целых чисел
Допустим я ввожу число 50
И затем ввожу число 70
Если я нажимаю "+"
То результатом должно быть число 120 Output:
Numbers means actions:
Output when replace in my PR
As seen buffer error throws after action 23-end_feature. |
Does this PR need help? What's the status? |
I'm migrate from cucumber to mocha, so you can try to continue my work. |
Can you please add the test so we don't accidentally break this in the future? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Basic support for i18n.
Problem is all languages but not EN throwing that error:
I'm think problem in generated gherkin lexers.
But I can't find where is problem because generated lexers isn't readable by normal human.