OSDN Git Service
(root)
/
hmh
/
hhml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b68abe
)
update iteratetable wiki command.
author
visor
<visor@users.sourceforge.jp>
Sat, 16 May 2015 12:06:39 +0000
(21:06 +0900)
committer
visor
<visor@users.sourceforge.jp>
Sat, 16 May 2015 12:06:39 +0000
(21:06 +0900)
wiki/wikicmd.cc
patch
|
blob
|
history
diff --git
a/wiki/wikicmd.cc
b/wiki/wikicmd.cc
index
11b4227
..
5c930b1
100644
(file)
--- a/
wiki/wikicmd.cc
+++ b/
wiki/wikicmd.cc
@@
-319,7
+319,9
@@
void wc_dotable (WikiLine* wl, WikiFormat* wiki) {
vval = clipWhite (v[1]->textOut (wiki));
s = clipWhite (args[1]->textOut (wiki));
tbl = wiki->getVar (s);
- if (! isTable (tbl ())) {
+ if (isNil (tbl ())) {
+ return;
+ } else if (! isTable (tbl ())) {
wiki->errorMsg.append (CharConst ("$iteratetable: bad value type.\n"));
return;
}