Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
69
stars
28
forks
source link
Fix the ruby-parser: `NoMethodError: undefined method `<<' for nil:NilClass` #68
Closed
ellcs closed 4 years ago
Hello again! :)
I receive following Error
NoMethodError: undefined method '<<' for nil:NilClass
within the glade parser:This is the following line:
https://github.com/ruby-gettext/gettext/blob/4e7702d83dc9711b5a17a4cf1e7a5d7ef1b3a703/lib/gettext/tools/parser/ruby.rb#L148
Here are some investigation notes:
@string_stack.last
isnil
token
is the content of a shell-call:echo hi
I will add a regression test.