summaryrefslogtreecommitdiffstats
path: root/sbin/devd/token.l
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-10-24 22:02:29 +0000
committerimp <imp@FreeBSD.org>2003-10-24 22:02:29 +0000
commitff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d (patch)
treea73579281972ef4a2b53de9f6192b64289db292d /sbin/devd/token.l
parent2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc (diff)
downloadFreeBSD-src-ff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d.zip
FreeBSD-src-ff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d.tar.gz
Parse the ! lines that will soon be coming from the kernel. These are
a generalized notification mechanism for subsystems wishing to report events. Revieded by: njl # The kernel side seems like it might be causing panics for me, but should # be forthcoming shortly.
Diffstat (limited to 'sbin/devd/token.l')
-rw-r--r--sbin/devd/token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/devd/token.l b/sbin/devd/token.l
index 03a5a72..0aa8cb6 100644
--- a/sbin/devd/token.l
+++ b/sbin/devd/token.l
@@ -93,6 +93,7 @@ device-name { return DEVICE_NAME; }
action { return ACTION; }
match { return MATCH; }
nomatch { return NOMATCH; }
+notify { return NOTIFY; }
[A-Za-z][A-Za-z0-9_-]* {
yylval.str = strdup(yytext);
return ID;
OpenPOWER on IntegriCloud