projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
メモリ内容を表示する時と、SVC 1で文字を出力する時、JIS X 201片仮名を出力するよう仕様変更
[YACASL2.git]
/
src
/
label.c
diff --git
a/src/label.c
b/src/label.c
index
5650a1f
..
efa52c3
100644
(file)
--- a/
src/label.c
+++ b/
src/label.c
@@
-59,7
+59,7
@@
unsigned labelhash(const char *prog, const char *label)
*/
WORD getlabel(const char *prog, const char *label)
{
*/
WORD getlabel(const char *prog, const char *label)
{
- assert(label != NULL);
+ assert(
prog != NULL &&
label != NULL);
LABELTAB *p;
for(p = labels[labelhash(prog, label)]; p != NULL; p = p->next) {
LABELTAB *p;
for(p = labels[labelhash(prog, label)]; p != NULL; p = p->next) {