@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(ppremake.cxx)
-AM_INIT_AUTOMAKE(ppremake, 0.60)
+AM_INIT_AUTOMAKE(ppremake, 0.61)
AM_CONFIG_HEADER(config.h)
AC_PREFIX_DEFAULT(/usr/local/panda)
@@ -1820,7 +1820,7 @@ expand_wordlist(const string ¶ms) {
tokenize_whitespace(expand_string(tokens[2]), words);
start = max(start, 1);
- end = min(end, (int)words.size());
+ end = min(end, (int)words.size() + 1);
if (end < start) {
return string();