فهرست منبع

CiviC programs may not be emptygit status

Taddeus Kroes 11 سال پیش
والد
کامیت
b496d6e00b
2فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      parser.mly
  2. 0 0
      test/basic/check_error/empty.cvc

+ 1 - 1
parser.mly

@@ -65,7 +65,7 @@ basic_type:
   | BOOL  { Bool }
 
 program:
-  | decl* EOF
+  | decl+ EOF
   { Program ($1, loc $startpos $endpos) }
 
 decl:

+ 0 - 0
test/basic/check_error/empty.cvc