Pārlūkot izejas kodu

CiviC programs may not be emptygit status

Taddeus Kroes 11 gadi atpakaļ
vecāks
revīzija
b496d6e00b
2 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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