瀏覽代碼

Removed unnecessary commas seperating yacc tokens, to prevent warnings.

dtrg 18 年之前
父節點
當前提交
c5f106f53e
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      mach/ns/as/mach2.c
  2. 2 2
      mach/pdp/as/mach2.c

+ 1 - 1
mach/ns/as/mach2.c

@@ -60,4 +60,4 @@
 %token <y_word> ACB
 %token <y_word> WAIT
 
-%type  <y_word> cpu_opts, cpu_list, string_opts, reg_list, reg_items
+%type  <y_word> cpu_opts cpu_list string_opts reg_list reg_items

+ 2 - 2
mach/pdp/as/mach2.c

@@ -36,5 +36,5 @@
 %token <y_word> CLEARCC
 %token <y_word> SETCC
 
-%type <y_word> opr1, opr2, op2, fopr2, fopr1, ari, ainc, adec
-%type <y_word> fop2, clcc, secc, fregister
+%type <y_word> opr1 opr2 op2 fopr2 fopr1 ari ainc adec
+%type <y_word> fop2 clcc secc fregister