[pkg-d-commits] [ldc] 26/95: config: fix underscore in names
Matthias Klumpp
mak at moszumanska.debian.org
Thu Jul 13 20:53:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.3.0-beta1
in repository ldc.
commit 8b05b821410f7d526e57ce71a66030aefcb0d43a
Author: Remi THEBAULT <remi.thebault at gmail.com>
Date: Sat Feb 25 17:58:45 2017 +0100
config: fix underscore in names
---
driver/config.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver/config.d b/driver/config.d
index 0fd4c77..0dadd6e 100644
--- a/driver/config.d
+++ b/driver/config.d
@@ -269,7 +269,7 @@ class Parser
name ~= cast(char)lastChar;
lastChar = getChar();
}
- while (isalnum(lastChar) || lastChar == '-');
+ while (isalnum(lastChar) || lastChar == '_' || lastChar == '-');
outStr = name;
return Token.name;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list