Skip to content

Commit 494364f

Browse files
committed
Unified: Add support for YAML comments.
1 parent cb9caa7 commit 494364f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

unified/ql/lib/unified.dbscheme

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,17 @@ yaml_scalars (unique int scalar: @yaml_scalar_node ref,
101101
int style: int ref,
102102
string value: string ref);
103103

104+
yaml_comments (unique int id: @yaml_comment,
105+
string text: string ref,
106+
string tostring: string ref);
107+
104108
yaml_errors (unique int id: @yaml_error,
105109
string message: string ref);
106110

107111
yaml_locations(unique int locatable: @yaml_locatable ref,
108112
int location: @location_default ref);
109113

110-
@yaml_locatable = @yaml_node | @yaml_error;
114+
@yaml_locatable = @yaml_node | @yaml_error | @yaml_comment;
111115

112116
/*- Database metadata -*/
113117

0 commit comments

Comments
 (0)