Fix erroneous subsitute by previous commit.
[pspp] / tests / language / lexer / segment.at
index e1dd0b5eb4f313a519aa26a13352508db259394d..bd3bc38281ef9f15718092fb6bc013e64da0cf66 100644 (file)
@@ -1,7 +1,25 @@
+dnl PSPP - a program for statistical analysis.
+dnl Copyright (C) 2017 Free Software Foundation, Inc.
+dnl 
+dnl This program is free software: you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation, either version 3 of the License, or
+dnl (at your option) any later version.
+dnl 
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl 
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
+dnl
 AT_BANNER([syntax segmentation])
 m4_define([PSPP_CHECK_SEGMENT],
   [AT_CHECK([segment-test $1 input], [0], [expout])
-   AT_CHECK([segment-test -1 $1 input], [0], [expout])])
+   AT_CHECK([segment-test -1 $1 input], [0], [expout])
+   AT_CHECK([segment-test -0 $1 input])
+   AT_CHECK([segment-test -01 $1 input])])
 \f
 AT_SETUP([identifiers])
 AT_KEYWORDS([segment])