X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=src%2Ftstquery.cpp;h=a9e147f733518e419cb9280606a5864aa28cd17c;hp=16cfe0a21196365fb61071ac77cc84d854bd570d;hb=bed85d2160500f57db63f4ab9d5533e0225cce15;hpb=0cc824e02bc2c69986bec8c9dd9ff53f07a0cd3d diff --git a/src/tstquery.cpp b/src/tstquery.cpp index 16cfe0a..a9e147f 100644 --- a/src/tstquery.cpp +++ b/src/tstquery.cpp @@ -1,10 +1,11 @@ -/* - * Copyright (c) 1998-2005, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2012 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: tstquery.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $ */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -34,14 +35,16 @@ void tst1(const char *query_str_in, const char *query_expected) int main(int argc, char **argv) { tst1("", ""); - tst1("x", "RPN: @attrset Bib-1 x"); - tst1("@and a b", "RPN: @attrset Bib-1 @and a b"); + tst1("x", "RPN @attrset Bib-1 x"); + tst1("@and a b", "RPN @attrset Bib-1 @and a b"); } /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +