Skip to content
This repository
Browse code

[enhance] compiler, syntax: error message

  • Loading branch information...
commit 9249d250df4ab199c12000791d8ff4df9da87d87 1 parent b9bd841
Quentin Bourgerie authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  opalang/js_syntax/opa_parser.trx
1  opalang/js_syntax/opa_parser.trx
@@ -451,6 +451,7 @@ declaration_database <-
451 451
        in
452 452
        decl_ @ List.map bodymap body
453 453
     }}
  454
+  / Opa_lexer.DATABASE (=deco(spacing)):d !ml_identifier {{ error1 "The database name is missing"  (snd d)}}
454 455
 
455 456
 database_body <- database_block
456 457
 

0 notes on commit 9249d25

Please sign in to comment.
Something went wrong with that request. Please try again.