diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 04:28:43 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 04:28:43 +0200 |
commit | 1c52a32779de1569ea41267ac6fc8f51c5a8b7fd (patch) | |
tree | 7e2e19d50109b5e38fdfcf47fb1c41a9bee4cc98 /pcilib/py.c | |
parent | c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd (diff) | |
download | pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.gz pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.bz2 pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.tar.xz pcitool-1c52a32779de1569ea41267ac6fc8f51c5a8b7fd.zip |
Support XML properties
Diffstat (limited to 'pcilib/py.c')
-rw-r--r-- | pcilib/py.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/py.c b/pcilib/py.c index 3a4fd96..def050e 100644 --- a/pcilib/py.c +++ b/pcilib/py.c @@ -108,7 +108,7 @@ static char *pcilib_py_parse_string(pcilib_t *ctx, const char *codestr, pcilib_v // find the end of the register name reg++; - for (i = 0; isalnum(reg[i]); i++); + for (i = 0; isalnum(reg[i])||(reg[i] == '_'); i++); save = reg[i]; reg[i] = 0; |