aboutsummaryrefslogtreecommitdiff
path: root/bin/auditdistd/token.l
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2015-12-09 12:16:21 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2015-12-09 12:16:21 +0000
commit97aa9e7383bb228ff968ff77101bfa4b68358784 (patch)
treecee869a57e5b8e8ad0ea31df24a68de011a74cee /bin/auditdistd/token.l
parent911ea853e570be4aaaec9076b1240d857525432c (diff)
downloadsrc-97aa9e7383bb228ff968ff77101bfa4b68358784.tar.gz
src-97aa9e7383bb228ff968ff77101bfa4b68358784.zip
Vendor import of OpenBSM 1.2-alpha4.vendor/openbsm/1.2-ALPHA-4
Notes
Notes: svn path=/vendor/openbsm/dist/; revision=292016 svn path=/vendor/openbsm/1.2-ALPHA-4/; revision=292017; tag=vendor/openbsm/1.2-ALPHA-4
Diffstat (limited to 'bin/auditdistd/token.l')
-rw-r--r--bin/auditdistd/token.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/auditdistd/token.l b/bin/auditdistd/token.l
index 9cebac1e22d9..2dd941a19af1 100644
--- a/bin/auditdistd/token.l
+++ b/bin/auditdistd/token.l
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#2 $
*/
#include <config/config.h>
@@ -74,7 +72,7 @@ sender { DP; return SENDER; }
source { DP; return SOURCE; }
timeout { DP; return TIMEOUT; }
[0-9]+ { DP; yylval.num = atoi(yytext); return NUM; }
-\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
+\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
\{ { DP; depth++; return OB; }
\} { DP; depth--; return CB; }
#.*$ /* ignore comments */;