summaryrefslogtreecommitdiff
path: root/usr.bin/bc/extern.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:00:08 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:00:08 +0000
commite0fb05eb8bc64b3760a73c307816506bb4d6239e (patch)
tree660a36b681281108acf476f6b80933e15fb73721 /usr.bin/bc/extern.h
parent951fa8ed01f4c8bc666f456c77717ee2ea583369 (diff)
o Introduce long variable names, a non-portable extension.
o Make main program target left recursive. Reduces parse stack usage, making it possible to compile programs > 10000 lines.
Diffstat (limited to 'usr.bin/bc/extern.h')
-rw-r--r--usr.bin/bc/extern.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/bc/extern.h b/usr.bin/bc/extern.h
index 8d4b0417523..cc99d12adfa 100644
--- a/usr.bin/bc/extern.h
+++ b/usr.bin/bc/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.3 2003/09/28 07:57:57 otto Exp $ */
+/* $OpenBSD: extern.h,v 1.4 2003/12/02 09:00:07 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -19,8 +19,8 @@
#include <stdio.h>
struct lvalue {
- int load;
- int store;
+ ssize_t load;
+ ssize_t store;
};
int yylex(void);