summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/sed-enums2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sed-enums b/tools/sed-enums
index 0c3987c..870e030 100644
--- a/tools/sed-enums
+++ b/tools/sed-enums
@@ -8,7 +8,7 @@ T;h
# read again if {
/^\s*\{/ b attrs
# append each item
-s/^\s*([A-Z0-9_]+)(\s*=\s*-?[0-9]+)?.*$/\1\2, /
+s/^\s*([A-Z0-9_]+)(\s*=\s*[^,\/]+)?.*$/\1\2, /
# goto next if subsitution fails, append pattern, loop
T next;H;b attrs
:next