mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Tweaked Compiler error messages, made some in def cast_csv_value show if trying to cast nil
This commit is contained in:
@@ -411,7 +411,7 @@ module PluginManager
|
||||
Compiler.pbCompilerEachPreppedLine(filename) do |line, line_no|
|
||||
# split line up into property name and values
|
||||
if !line[/^\s*(\w+)\s*=\s*(.*)$/]
|
||||
raise _INTL("Bad line syntax (expected syntax like XXX=YYY)\n{1}", FileLineData.linereport)
|
||||
raise _INTL("Bad line syntax (expected syntax like XXX=YYY).") + "\n" + FileLineData.linereport
|
||||
end
|
||||
property = $~[1].upcase
|
||||
data = $~[2].split(",")
|
||||
|
||||
Reference in New Issue
Block a user