Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e2b143e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gd/parser: Separate code requires block in yacc"

parents e40d6044 ca51d691
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
%{
%code requires {
  #include <iostream>
  #include <vector>
  #include <list>
@@ -6,10 +6,11 @@

  #include "declarations.h"
  #include "logging.h"
  #include "language_y.h"
  #include "field_list.h"
  #include "fields/all_fields.h"

}
%{
  #include "language_y.h"
  extern int yylex(yy::parser::semantic_type*, yy::parser::location_type*, void *);

  ParseLocation toParseLocation(yy::parser::location_type loc) {