summaryrefslogtreecommitdiff
path: root/mcon/U/intsize.U
diff options
context:
space:
mode:
Diffstat (limited to 'mcon/U/intsize.U')
-rw-r--r--mcon/U/intsize.U10
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/intsize.U b/mcon/U/intsize.U
index 362ee4d..5dcf6d3 100644
--- a/mcon/U/intsize.U
+++ b/mcon/U/intsize.U
@@ -39,19 +39,19 @@
?H:#define SHORTSIZE $shortsize
?H:.
?T:types t size var
-?LINT: set intsize longsize shortsize
+?LINT: set shortsize intsize longsize
: check for lengths of integral types
echo " "
types=''
+@if SHORTSIZE || shortsize
+types="$types short"
+@end
@if INTSIZE || intsize
types="$types int"
@end
@if LONGSIZE || longsize
types="$types long"
@end
-@if SHORTSIZE || shortsize
-types="$types short"
-@end
for t in $types; do
$echo $n "Checking to see how big your ${t}s are...$c" >&4
for size in 2 4 8 16 error; do
@@ -71,9 +71,9 @@ EOCP
error)
echo " cannot compute it." >&4
case $t in
+ short) dflt=2;;
int) dflt=4;;
long) dflt=4;;
- short) dflt=2;;
esac
rp="What is the size of the \"$t\" type (in bytes)?"
. ./myread