summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/bc/bc.y6
-rw-r--r--usr.bin/bc/scan.l6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y
index 9059846d5d9..28f645c6696 100644
--- a/usr.bin/bc/bc.y
+++ b/usr.bin/bc/bc.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: bc.y,v 1.2 2003/09/26 07:23:06 otto Exp $ */
+/* $OpenBSD: bc.y,v 1.3 2003/09/26 19:00:38 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: bc.y,v 1.2 2003/09/26 07:23:06 otto Exp $";
+static const char rcsid[] = "$OpenBSD: bc.y,v 1.3 2003/09/26 19:00:38 deraadt Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -403,7 +403,7 @@ argument_list : expression
| argument_list COMMA LETTER LBRACKET RBRACKET
{
$$ = node($1, cs("l"), ARRAY_NODE($3),
- END_NODE);
+ END_NODE);
}
;
diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l
index b0e35c2ed3f..9075a5eb3df 100644
--- a/usr.bin/bc/scan.l
+++ b/usr.bin/bc/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.3 2003/09/26 07:04:25 deraadt Exp $ */
+/* $OpenBSD: scan.l,v 1.4 2003/09/26 19:00:38 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: scan.l,v 1.3 2003/09/26 07:04:25 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: scan.l,v 1.4 2003/09/26 19:00:38 deraadt Exp $";
#endif /* not lint */
#include <err.h>
@@ -126,7 +126,7 @@ DIGIT [0-9A-F]
"++" return INCR;
"--" return DECR;
-"=" yylval.str = ""; return ASSIGN_OP;
+"=" yylval.str = ""; return ASSIGN_OP;
"+=" yylval.str = "+"; return ASSIGN_OP;
"-=" yylval.str = "-"; return ASSIGN_OP;
"*=" yylval.str = "*"; return ASSIGN_OP;