summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
Diffstat (limited to 'defs')
-rw-r--r--defs/id.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs/id.def b/defs/id.def
index 1196e8f..ea0746e 100644
--- a/defs/id.def
+++ b/defs/id.def
@@ -47,7 +47,7 @@ global_ids = []
const_ids = []
class_ids = []
names = {}
-predefined.lines.each_with_index do |line, num|
+predefined.split(/^/).each_with_index do |line, num|
next if /^#/ =~ line or (name, token = line.split; !name)
token ||= name
if /#/ =~ token