lexer: Reimplement for better testability and internationalization.
[pspp-builds.git] / tests / data / data-in.at
index 56cc09486a5df27de3a38a0afb97c69f861b8af1..d5595975ec05e6a26c3074cb0ca43b6e70a6cf0b 100644 (file)
@@ -185,7 +185,92 @@ sub maybe_print_space {
 }
 
 sub pick {
-   return $_[int (my_rand ($#_ + 1))];
+   return $_[int (my_rand ($#_
+                           + 1))];
+}
+EOF
+}
+time_in () {
+  data_in_prng
+  cat > time-in.pl << 'EOF'
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+do 'my-rand.pl';
+
+my ($skip, $fmt_name, @templates) = @ARGV;
+
+my_rand (1) foreach 1...$skip;
+
+my @times = (#  D  HH  MM     SS
+            [  0,  0,  0,  0.00],
+            [  1,  4, 50, 38.68],
+            [  5, 12, 31, 35.82],
+            [  0, 12, 47, 53.41],
+            [  3,  1, 26,  0.69],
+            [  1, 20, 58, 11.19],
+            [ 12,  7, 36,  5.98],
+            [ 52, 15, 43, 49.27],
+            [  7,  4, 25,  9.24],
+            [  0,  6, 49, 27.89],
+            [ 20,  2, 57, 52.56],
+            [555, 16, 45, 44.12],
+            [120, 21, 30, 57.27],
+            [  0,  4, 25,  9.98],
+            [  3,  6, 49, 27.24],
+            [  5,  2, 57, 52.13],
+            [  0, 16, 45, 44.35],
+            [  1, 21, 30, 57.32],
+            [ 10, 22, 30,  4.27],
+            [ 22,  1, 56, 51.18]);
+
+open (SYNTAX, '>', "$fmt_name.sps") or die "$fmt_name.sps: create: $!\n";
+print SYNTAX "DATA LIST NOTABLE FILE='$fmt_name.data'/$fmt_name 1-40 ($fmt_name).\n";
+print SYNTAX "PRINT OUTFILE='$fmt_name.out'/$fmt_name (F16.2).\n";
+print SYNTAX "EXECUTE.\n";
+close (SYNTAX);
+
+my ($fn) = "$fmt_name.data";
+open (DATA, '>', $fn) or die "$fn: create: $!\n";
+select DATA;
+for my $template (@templates) {
+    for my $time (@times) {
+       print_time_with_template ($time, $template) for 1...10;
+    }
+}
+close (DATA);
+
+sub print_time_with_template {
+    my ($time, $template) = @_;
+    my ($day, $hour, $minute, $second) = @$time;
+    for my $c (split ('', $template)) {
+       if ($c eq '+') {
+           print +pick ('', '-', '+');
+       } elsif ($c eq 'D') {
+           printf (+pick ('%d', '%02d'), $day);
+           $day = 0;
+       } elsif ($c eq 'H') {
+           printf (+pick ('%d', '%02d'), $hour + 24 * $day);
+       } elsif ($c eq 'M') {
+           printf (+pick ('%d', '%02d'), $minute);
+       } elsif ($c eq 'S') {
+           printf (+pick ('%.0f', '%02.0f', '%.1f', '%.2f'), $second);
+       } elsif ($c eq ':') {
+           print +pick (' ', ':');
+       } elsif ($c eq ' ') {
+           print ' ';
+       } else {
+           die;
+       }
+    }
+    print "\n";
+}
+
+sub pick {
+   return $_[int (my_rand ($#_ 
+                           + 1)) ];
 }
 EOF
 }]
@@ -2502,10 +2587,833 @@ AT_CHECK([cat datetime.out], [0], [dnl
 ])
 AT_CLEANUP
 
+AT_SETUP([TIME input format])
+AT_KEYWORDS([data-in])
+time_in
+AT_CHECK([$PERL test-my-rand.pl])
+AT_CHECK([$PERL time-in.pl 0 time +H:M +H:M:S])
+AT_CHECK([test -s time.sps])
+AT_CHECK([test -s time.data])
+AT_CHECK([pspp -O format=csv time.sps])
+AT_CHECK([cat time.out], [0], [dnl
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+       -103800.00
+        103800.00
+        103800.00
+       -103800.00
+        103800.00
+       -103800.00
+        103800.00
+        103800.00
+       -103800.00
+        103800.00
+        477060.00
+        477060.00
+        477060.00
+        477060.00
+       -477060.00
+        477060.00
+        477060.00
+        477060.00
+        477060.00
+       -477060.00
+         46020.00
+        -46020.00
+        -46020.00
+        -46020.00
+         46020.00
+         46020.00
+        -46020.00
+         46020.00
+         46020.00
+        -46020.00
+        264360.00
+        264360.00
+       -264360.00
+       -264360.00
+        264360.00
+       -264360.00
+        264360.00
+       -264360.00
+       -264360.00
+       -264360.00
+        161880.00
+        161880.00
+        161880.00
+        161880.00
+        161880.00
+       -161880.00
+        161880.00
+        161880.00
+        161880.00
+       -161880.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+      -1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+      -4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+      -4549380.00
+       4549380.00
+       4549380.00
+        620700.00
+       -620700.00
+        620700.00
+        620700.00
+       -620700.00
+        620700.00
+       -620700.00
+       -620700.00
+        620700.00
+        620700.00
+         24540.00
+        -24540.00
+         24540.00
+         24540.00
+         24540.00
+         24540.00
+         24540.00
+         24540.00
+         24540.00
+         24540.00
+      -1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+      48012300.00
+     -48012300.00
+     -48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      10445400.00
+     -10445400.00
+     -10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+     -10445400.00
+      10445400.00
+      10445400.00
+     -10445400.00
+         15900.00
+         15900.00
+        -15900.00
+         15900.00
+        -15900.00
+        -15900.00
+         15900.00
+         15900.00
+         15900.00
+         15900.00
+        283740.00
+       -283740.00
+        283740.00
+        283740.00
+        283740.00
+       -283740.00
+        283740.00
+        283740.00
+       -283740.00
+        283740.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+        442620.00
+       -442620.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+        -60300.00
+        -60300.00
+         60300.00
+        -60300.00
+        -60300.00
+        163800.00
+       -163800.00
+       -163800.00
+       -163800.00
+        163800.00
+        163800.00
+        163800.00
+        163800.00
+       -163800.00
+        163800.00
+        945000.00
+       -945000.00
+       -945000.00
+       -945000.00
+        945000.00
+        945000.00
+        945000.00
+       -945000.00
+        945000.00
+        945000.00
+      -1907760.00
+       1907760.00
+      -1907760.00
+       1907760.00
+      -1907760.00
+       1907760.00
+       1907760.00
+       1907760.00
+       1907760.00
+      -1907760.00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+        103839.00
+        103838.68
+       -103838.70
+       -103838.68
+        103838.70
+        103838.68
+       -103839.00
+        103838.68
+        103838.70
+       -103839.00
+        477095.82
+        477096.00
+        477096.00
+        477095.82
+        477095.82
+        477095.82
+        477095.80
+       -477095.80
+        477095.82
+       -477095.82
+        -46073.00
+        -46073.40
+         46073.00
+         46073.40
+         46073.40
+         46073.00
+        -46073.00
+         46073.00
+         46073.00
+         46073.00
+        264360.69
+       -264360.70
+        264361.00
+        264360.70
+        264360.69
+        264360.70
+        264361.00
+        264360.70
+       -264361.00
+        264361.00
+        161891.00
+       -161891.20
+       -161891.00
+        161891.00
+       -161891.00
+        161891.20
+       -161891.20
+       -161891.20
+        161891.20
+       -161891.19
+      -1064166.00
+       1064165.98
+      -1064166.00
+      -1064166.00
+      -1064165.98
+       1064166.00
+       1064166.00
+      -1064166.00
+      -1064165.98
+       1064166.00
+       4549429.00
+       4549429.27
+       4549429.27
+      -4549429.30
+       4549429.00
+      -4549429.00
+       4549429.00
+       4549429.27
+       4549429.00
+       4549429.30
+        620709.00
+       -620709.24
+        620709.24
+        620709.24
+        620709.24
+        620709.20
+       -620709.24
+        620709.20
+        620709.24
+        620709.24
+         24567.90
+         24567.89
+         24567.90
+         24568.00
+         24567.90
+         24568.00
+         24568.00
+        -24567.90
+         24567.90
+         24568.00
+       1738672.56
+       1738673.00
+      -1738672.60
+      -1738672.56
+       1738673.00
+       1738673.00
+       1738673.00
+       1738672.60
+      -1738672.56
+       1738672.60
+     -48012344.10
+      48012344.12
+     -48012344.10
+     -48012344.00
+     -48012344.00
+      48012344.00
+     -48012344.00
+     -48012344.00
+     -48012344.00
+      48012344.00
+      10445457.27
+      10445457.00
+      10445457.30
+      10445457.00
+      10445457.27
+      10445457.00
+      10445457.27
+      10445457.00
+      10445457.00
+     -10445457.30
+        -15909.98
+         15910.00
+        -15910.00
+         15910.00
+        -15909.98
+         15910.00
+        -15909.98
+         15909.98
+         15910.00
+         15909.98
+       -283767.00
+        283767.20
+        283767.20
+        283767.00
+       -283767.00
+        283767.00
+        283767.24
+        283767.00
+        283767.24
+        283767.00
+       -442672.00
+        442672.13
+        442672.00
+        442672.13
+        442672.00
+        442672.00
+        442672.00
+        442672.00
+       -442672.00
+        442672.13
+        -60344.40
+        -60344.00
+         60344.00
+         60344.35
+         60344.00
+         60344.40
+         60344.40
+        -60344.00
+         60344.00
+         60344.40
+        163857.00
+        163857.00
+        163857.00
+        163857.00
+        163857.30
+       -163857.30
+        163857.30
+       -163857.00
+       -163857.00
+        163857.30
+        945004.30
+        945004.00
+        945004.27
+        945004.30
+        945004.30
+        945004.00
+        945004.30
+        945004.00
+        945004.00
+        945004.00
+       1907811.00
+       1907811.00
+      -1907811.00
+       1907811.18
+       1907811.20
+       1907811.00
+      -1907811.00
+       1907811.18
+      -1907811.00
+      -1907811.00
+])
+AT_CLEANUP
+
+AT_SETUP([DTIME input format])
+AT_KEYWORDS([data-in])
+time_in
+AT_CHECK([$PERL test-my-rand.pl])
+AT_CHECK([$PERL time-in.pl 2000 dtime '+D H:M' '+D H:M:S'])
+AT_CHECK([test -s dtime.sps])
+AT_CHECK([test -s dtime.data])
+AT_CHECK([pspp -O format=csv dtime.sps])
+AT_CHECK([cat dtime.out], [0], [dnl
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+        103800.00
+        103800.00
+       -103800.00
+        103800.00
+        103800.00
+       -103800.00
+        103800.00
+       -103800.00
+        103800.00
+       -103800.00
+        477060.00
+        477060.00
+        477060.00
+        477060.00
+        477060.00
+        477060.00
+       -477060.00
+       -477060.00
+       -477060.00
+        477060.00
+         46020.00
+         46020.00
+         46020.00
+         46020.00
+        -46020.00
+        -46020.00
+        -46020.00
+         46020.00
+         46020.00
+         46020.00
+        264360.00
+        264360.00
+       -264360.00
+        264360.00
+        264360.00
+        264360.00
+        264360.00
+       -264360.00
+       -264360.00
+       -264360.00
+       -161880.00
+       -161880.00
+        161880.00
+        161880.00
+        161880.00
+       -161880.00
+        161880.00
+       -161880.00
+        161880.00
+       -161880.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+      -1064160.00
+       1064160.00
+       1064160.00
+       1064160.00
+      -4549380.00
+       4549380.00
+      -4549380.00
+      -4549380.00
+      -4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       4549380.00
+       -620700.00
+        620700.00
+        620700.00
+       -620700.00
+        620700.00
+        620700.00
+        620700.00
+       -620700.00
+        620700.00
+        620700.00
+        -24540.00
+         24540.00
+         24540.00
+         24540.00
+        -24540.00
+         24540.00
+         24540.00
+        -24540.00
+         24540.00
+        -24540.00
+       1738620.00
+       1738620.00
+       1738620.00
+      -1738620.00
+      -1738620.00
+      -1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+       1738620.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+      48012300.00
+     -48012300.00
+     -48012300.00
+      48012300.00
+     -48012300.00
+     -48012300.00
+     -10445400.00
+      10445400.00
+     -10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+      10445400.00
+         15900.00
+         15900.00
+         15900.00
+         15900.00
+         15900.00
+        -15900.00
+         15900.00
+         15900.00
+         15900.00
+         15900.00
+       -283740.00
+        283740.00
+       -283740.00
+       -283740.00
+        283740.00
+        283740.00
+        283740.00
+        283740.00
+        283740.00
+       -283740.00
+        442620.00
+       -442620.00
+       -442620.00
+        442620.00
+        442620.00
+       -442620.00
+       -442620.00
+       -442620.00
+        442620.00
+        442620.00
+         60300.00
+        -60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+         60300.00
+        163800.00
+        163800.00
+       -163800.00
+        163800.00
+       -163800.00
+       -163800.00
+       -163800.00
+        163800.00
+        163800.00
+       -163800.00
+        945000.00
+        945000.00
+        945000.00
+        945000.00
+       -945000.00
+        945000.00
+        945000.00
+        945000.00
+        945000.00
+       -945000.00
+      -1907760.00
+       1907760.00
+       1907760.00
+       1907760.00
+      -1907760.00
+      -1907760.00
+      -1907760.00
+       1907760.00
+      -1907760.00
+      -1907760.00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+              .00
+        103838.70
+        103838.70
+        103839.00
+        103838.68
+        103838.70
+        103839.00
+        103838.70
+       -103839.00
+        103839.00
+        103839.00
+        477095.80
+        477095.80
+       -477095.80
+        477095.82
+        477095.82
+        477095.82
+       -477095.82
+        477095.82
+        477096.00
+       -477096.00
+        -46073.00
+         46073.00
+        -46073.00
+         46073.41
+         46073.00
+         46073.40
+         46073.00
+         46073.41
+         46073.41
+        -46073.00
+        264360.70
+        264360.70
+        264360.69
+        264361.00
+       -264360.70
+        264360.69
+       -264360.70
+        264360.69
+       -264361.00
+        264360.69
+        161891.00
+       -161891.20
+       -161891.19
+        161891.19
+        161891.00
+        161891.20
+        161891.20
+        161891.00
+        161891.00
+        161891.20
+      -1064165.98
+       1064166.00
+       1064166.00
+       1064166.00
+       1064165.98
+       1064166.00
+       1064166.00
+      -1064165.98
+       1064165.98
+      -1064166.00
+       4549429.27
+       4549429.27
+       4549429.27
+       4549429.27
+       4549429.00
+       4549429.27
+      -4549429.27
+       4549429.00
+       4549429.27
+       4549429.27
+       -620709.00
+        620709.20
+        620709.00
+       -620709.20
+       -620709.24
+       -620709.00
+        620709.00
+        620709.24
+       -620709.24
+        620709.00
+        -24567.89
+         24567.90
+         24568.00
+         24567.89
+         24568.00
+         24568.00
+         24567.90
+        -24568.00
+        -24567.89
+        -24568.00
+       1738672.56
+      -1738672.56
+       1738672.56
+      -1738672.60
+      -1738673.00
+       1738672.56
+       1738673.00
+      -1738672.60
+       1738672.60
+       1738672.56
+      48012344.00
+     -48012344.12
+     -48012344.00
+      48012344.12
+     -48012344.12
+     -48012344.00
+      48012344.12
+     -48012344.00
+     -48012344.00
+     -48012344.00
+     -10445457.00
+      10445457.00
+      10445457.00
+      10445457.00
+     -10445457.00
+     -10445457.00
+      10445457.00
+      10445457.00
+      10445457.00
+     -10445457.30
+        -15909.98
+         15910.00
+        -15909.98
+         15910.00
+         15910.00
+        -15910.00
+        -15910.00
+        -15910.00
+        -15910.00
+         15909.98
+       -283767.24
+        283767.20
+        283767.24
+        283767.24
+        283767.00
+        283767.20
+        283767.20
+        283767.24
+       -283767.00
+        283767.24
+        442672.13
+       -442672.13
+        442672.00
+        442672.13
+        442672.10
+        442672.00
+        442672.00
+       -442672.10
+        442672.00
+       -442672.10
+        -60344.35
+         60344.00
+         60344.00
+        -60344.00
+         60344.00
+         60344.35
+         60344.00
+         60344.35
+         60344.00
+         60344.00
+       -163857.00
+       -163857.00
+        163857.32
+        163857.00
+       -163857.30
+       -163857.00
+        163857.30
+        163857.00
+        163857.00
+       -163857.00
+       -945004.00
+       -945004.30
+        945004.27
+        945004.27
+       -945004.27
+       -945004.27
+       -945004.00
+       -945004.27
+       -945004.00
+        945004.30
+       1907811.00
+       1907811.00
+       1907811.00
+       1907811.00
+       1907811.20
+       1907811.18
+       1907811.18
+       1907811.18
+       1907811.18
+       1907811.00
+])
+AT_CLEANUP
 
 AT_SETUP([binary and hexadecimal input (IB, PIB, and PIBHEX formats)])
 AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > binhex-in.data])
-AT_CHECK([wc -c < binhex-in.data], [0], [131072
+AT_CHECK([wc -c < binhex-in.data | sed 's/[    ]//g'], [0], [131072
 ])
 AT_DATA([binhex-in.sps], [dnl
 SET RIB=MSBFIRST.
@@ -2526,7 +3434,7 @@ AT_CLEANUP
 
 AT_SETUP([BCD input (P and PK formats)])
 AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > bcd-in.data])
-AT_CHECK([wc -c < bcd-in.data], [0], [131072
+AT_CHECK([wc -c < bcd-in.data | sed 's/[       ]//g'], [0], [131072
 ])
 AT_DATA([bcd-in.sps], [dnl
 SET ERRORS=NONE.
@@ -2546,7 +3454,7 @@ AT_CLEANUP
 
 AT_SETUP([legacy input (N and Z formats)])
 AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > legacy-in.data])
-AT_CHECK([wc -c < legacy-in.data], [0], [131072
+AT_CHECK([wc -c < legacy-in.data | sed 's/[    ]//g'], [0], [131072
 ])
 AT_DATA([legacy-in.sps], [dnl
 SET ERRORS=NONE.
@@ -2592,23 +3500,23 @@ PRINT OUTFILE='wkday.out'/ALL.
 EXECUTE.
 ])
 AT_CHECK([pspp -O format=csv wkday.sps], [0], [dnl
-wkday.sps:20.1-2: warning: Data for variable wkday2 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.2: warning: Data for variable wkday2 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-3: warning: Data for variable wkday3 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.3: warning: Data for variable wkday3 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-4: warning: Data for variable wkday4 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.4: warning: Data for variable wkday4 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-5: warning: Data for variable wkday5 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.5: warning: Data for variable wkday5 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-6: warning: Data for variable wkday6 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.6: warning: Data for variable wkday6 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-7: warning: Data for variable wkday7 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.7: warning: Data for variable wkday7 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-8: warning: Data for variable wkday8 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.8: warning: Data for variable wkday8 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-9: warning: Data for variable wkday9 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.9: warning: Data for variable wkday9 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 
-wkday.sps:20.1-10: warning: Data for variable wkday10 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
+wkday.sps:20.1-20.10: warning: Data for variable wkday10 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
 ])
 AT_CHECK([cat wkday.out], [0], [dnl
   .  .  .  .  .  .  .  .  . @&t@
@@ -2687,51 +3595,51 @@ PRINT OUTFILE='month.out'/ALL.
 EXECUTE.
 ])
 AT_CHECK([pspp -O format=csv month.sps], [0], [dnl
-month.sps:15.1-4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:15.1-10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:15.1-15.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:26.1-10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:26.1-26.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 
-month.sps:39.1-10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
+month.sps:39.1-39.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
 ])
 AT_CHECK([cat month.out], [0], [dnl
    .   .   .   .   .   .   .   . @&t@