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

Commit 62b6421a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "gd/parser: Separate code requires block in yacc" am: 4e2b143e am:...

Merge "gd/parser: Separate code requires block in yacc" am: 4e2b143e am: 315a05e6 am: af87d17d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1864825

Change-Id: Iebc1e71e018d3975ef09d876d918585b923329a8
parents 2e85abd8 af87d17d
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) {