소스 검색

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