|
@@ -1,9 +1,8 @@
|
|
|
(** Parse Abstract Syntax Tree from input file content. *)
|
|
(** Parse Abstract Syntax Tree from input file content. *)
|
|
|
|
|
|
|
|
(** This phase takes [FileContent] as input and outputs a corresponding [Ast].
|
|
(** This phase takes [FileContent] as input and outputs a corresponding [Ast].
|
|
|
- Syntax errors are caught and
|
|
|
|
|
- transformed into {!Types.LocError}, so that the error can be highlighted in
|
|
|
|
|
- the input file code.
|
|
|
|
|
|
|
+ Syntax errors are caught and transformed into {!Types.FatalError} with a
|
|
|
|
|
+ [LocMsg], so that the error can be highlighted in the input file code.
|
|
|
|
|
|
|
|
The global files [lexer.mll] and [parser.mly] implement the grammar
|
|
The global files [lexer.mll] and [parser.mly] implement the grammar
|
|
|
specified by the CiviC language manual This includes the extensions of
|
|
specified by the CiviC language manual This includes the extensions of
|