diff options
Diffstat (limited to 'sbin/hastd/token.l')
-rw-r--r-- | sbin/hastd/token.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/hastd/token.l b/sbin/hastd/token.l index 05d600c..c42c130 100644 --- a/sbin/hastd/token.l +++ b/sbin/hastd/token.l @@ -1,6 +1,7 @@ %{ /*- * Copyright (c) 2009-2010 The FreeBSD Foundation + * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net> * All rights reserved. * * This software was developed by Pawel Jakub Dawidek under sponsorship from @@ -48,6 +49,7 @@ control { DP; return CONTROL; } listen { DP; return LISTEN; } port { DP; return PORT; } replication { DP; return REPLICATION; } +checksum { DP; return CHECKSUM; } timeout { DP; return TIMEOUT; } exec { DP; return EXEC; } resource { DP; return RESOURCE; } @@ -58,6 +60,9 @@ on { DP; return ON; } fullsync { DP; return FULLSYNC; } memsync { DP; return MEMSYNC; } async { DP; return ASYNC; } +none { DP; return NONE; } +crc32 { DP; return CRC32; } +sha256 { DP; return SHA256; } [0-9]+ { DP; yylval.num = atoi(yytext); return NUM; } [a-zA-Z0-9\.\-_/\:]+ { DP; yylval.str = strdup(yytext); return STR; } \{ { DP; depth++; return OB; } |