You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include <config.h>
#include "error.h"
#include "str.h"
#include "var.h"
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
#include "debug-print.h"
/* LOOP strategy:
internal_cmd_loop (void)
{
/* Name of indexing variable if applicable. */
- char name[9];
+ char name[LONG_NAME_LEN + 1];
/* Create and initialize transformations to facilitate
error-handling. */
}
}
else
- name[0] = 0;
+ name[0] = '\0';
/* Parse IF clause. */
if (lex_match_id ("IF"))
}
/* Find variable; create if necessary. */
- if (name[0])
+ if (name[0] != '\0')
{
two->index = dict_lookup_var (default_dict, name);
if (!two->index)