summaryrefslogtreecommitdiffstats
path: root/grammar/rscript.l
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-06-30 17:55:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-06-30 17:55:48 +0200
commit0a1f27bba26c436b1c7042a2d3cc479dc1512e0a (patch)
tree7365633813b58fa3fd29e50a0c69d9a2ed4b92ed /grammar/rscript.l
parent1eeeb6f603326234f1d17a16d3c55f8458f7177b (diff)
downloadrsyslog-0a1f27bba26c436b1c7042a2d3cc479dc1512e0a.tar.gz
rsyslog-0a1f27bba26c436b1c7042a2d3cc479dc1512e0a.tar.xz
rsyslog-0a1f27bba26c436b1c7042a2d3cc479dc1512e0a.zip
worked on detecting old-style PRI filter
Diffstat (limited to 'grammar/rscript.l')
-rw-r--r--grammar/rscript.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar/rscript.l b/grammar/rscript.l
index eb2c23ad..18286d5e 100644
--- a/grammar/rscript.l
+++ b/grammar/rscript.l
@@ -5,6 +5,7 @@
%%
+^[ \t]*[\*a-z]+.[!=;.\*a-z]+ { printf("PRI: '%s'\n", yytext); }
. { printf("%s", yytext); }
%%