-
Notifications
You must be signed in to change notification settings - Fork 36
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
"String not in language" error #62
Comments
I have replicated the same issue in the very latest version of RLTK - log below:
|
Sorry I am closing the issue. It turned out that the correct replacement for this code:
Is actually this code:
It was the failure to include the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a JRuby-on-Rails application that interprets TWS definitions using RLTK that then inserts them into database tables. The application previously was using this version and has now been updated to 2.2.1.
We initially saw an error saying
NameError exception occurred: undefined local variable or method 'scanner' for #<RLTK::Lexer::Environment:0x2838abe5>
, which seemed to be related to these lines in lib/tws_parser/parser.rb:After replacing these lines we now receive a new error:
I believe the issue is in the same file as before, here is the contents of lib/tws_parser/parser.rb, lines 103 to 129:
I guess the issue is related to the block that assigns
[:STRING, str]
but I don't know what I am supposed to change it to - can you please help?The text was updated successfully, but these errors were encountered: