Преглед изворни кода

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