=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/bc/scan.l,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/bc/scan.l 2003/11/11 19:49:02 1.12 +++ src/usr.bin/bc/scan.l 2003/11/17 11:20:13 1.13 @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.12 2003/11/11 19:49:02 otto Exp $ */ +/* $OpenBSD: scan.l,v 1.13 2003/11/17 11:20:13 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -18,7 +18,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: scan.l,v 1.12 2003/11/11 19:49:02 otto Exp $"; +static const char rcsid[] = "$OpenBSD: scan.l,v 1.13 2003/11/17 11:20:13 otto Exp $"; #endif /* not lint */ #include @@ -124,6 +124,10 @@ "*" return MULTIPLY; "/" return DIVIDE; "%" return REMAINDER; + +"!" return BOOL_NOT; +"&&" return BOOL_AND; +"||" return BOOL_OR; "+" return PLUS; "-" return MINUS;