メモリ内容を表示する時と、SVC 1で文字を出力する時、JIS X 201片仮名を出力するよう仕様変更
[YACASL2.git] / src / label.c
index 5650a1f..efa52c3 100644 (file)
@@ -59,7 +59,7 @@ unsigned labelhash(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) {