Skip to content

Commit

Permalink
Move location.h to libasr
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jan 3, 2022
1 parent 7ba7c68 commit 8059929
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grammar/asdl_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ def add_masks(fields, node):
// Generated by grammar/asdl_cpp.py
#include <libasr/alloc.h>
#include <lfortran/parser/location.h>
#include <libasr/location.h>
#include <lfortran/colors.h>
#include <libasr/containers.h>
#include <libasr/exception.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lfortran/parser/parser_stype.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <cstring>
#include <lfortran/ast.h>
#include <lfortran/parser/location.h>
#include <libasr/location.h>
#include <libasr/containers.h>
#include <lfortran/bigint.h>

Expand Down
2 changes: 1 addition & 1 deletion src/libasr/diagnostics.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef LFORTRAN_DIAGNOSTICS_H
#define LFORTRAN_DIAGNOSTICS_H

#include <lfortran/parser/location.h>
#include <libasr/location.h>
#include <lfortran/stacktrace.h>

namespace LFortran {
Expand Down
2 changes: 1 addition & 1 deletion src/libasr/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ typedef enum {

#include <exception>
#include <string>
#include <lfortran/parser/location.h>
#include <libasr/location.h>
#include <lfortran/config.h>
#include <lfortran/stacktrace.h>
#include <libasr/diagnostics.h>
Expand Down
File renamed without changes.

0 comments on commit 8059929

Please sign in to comment.