diff options
author | steve <steve@FreeBSD.org> | 1996-11-04 03:55:26 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-11-04 03:55:26 +0000 |
commit | ef6f1644ef0f9d0b3a17f8e271db61d6a070036d (patch) | |
tree | 1b79ec214b19b142c034cafd7e968b29acd0e8d4 /gnu/usr.bin/bc/global.h | |
parent | 881f1465638d683d72a9e960e03dfd5a14436652 (diff) | |
download | FreeBSD-src-ef6f1644ef0f9d0b3a17f8e271db61d6a070036d.zip FreeBSD-src-ef6f1644ef0f9d0b3a17f8e271db61d6a070036d.tar.gz |
Upgrade to version 1.03.
Diffstat (limited to 'gnu/usr.bin/bc/global.h')
-rw-r--r-- | gnu/usr.bin/bc/global.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/usr.bin/bc/global.h b/gnu/usr.bin/bc/global.h index 550afb1..2b339a8 100644 --- a/gnu/usr.bin/bc/global.h +++ b/gnu/usr.bin/bc/global.h @@ -1,7 +1,7 @@ /* global.h: The global variables for bc. */ /* This file is part of bc written for MINIX. - Copyright (C) 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,24 +27,41 @@ *************************************************************************/ -/* For the current "break level" and if statements. */ +/* The current break level's label. */ EXTERN int break_label; + +/* The current if statement's else label or label after else. */ EXTERN int if_label; + +/* The current for statement label for continuing the loop. */ EXTERN int continue_label; -/* Label numbers. */ +/* Next available label number. */ EXTERN int next_label; -/* Used for "code" generation. */ +/* Byte code character storage. Used in many places for generation of code. */ EXTERN char genstr[80]; + +/* Count of characters printed to the output in compile_only mode. */ EXTERN int out_count; + +/* Have we generated any code since the last initialization of the code + generator. */ EXTERN char did_gen; -/* Interactive and other flags. */ +/* Is this run an interactive execution. (Is stdin a terminal?) */ EXTERN char interactive; + +/* Just generate the byte code. -c flag. */ EXTERN char compile_only; + +/* Load the standard math functions. -l flag. */ EXTERN char use_math; + +/* Give a warning on use of any non-standard feature (non-POSIX). -w flag. */ EXTERN char warn_not_std; + +/* Accept POSIX bc only! -s flag. */ EXTERN char std_only; /* global variables for the bc machine. All will be dynamic in size.*/ |