-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From 07f92a82df1ef6d4c73ca18ee116a4af4895f343 Mon Sep 17 00:00:00 2001 | ||
From: Gleb Popov <6yearold@gmail.com> | ||
Date: Mon, 29 Jan 2024 16:14:40 +0300 | ||
Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter (#4165) | ||
|
||
--- | ||
subprojects/rizin-shell-parser/src/parser.c | 2 +- | ||
subprojects/rizin-shell-parser/src/scanner.c | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c | ||
index 21e270b58fa..3f83e0bf0b8 100644 | ||
--- a/subprojects/rizin-shell-parser/src/parser.c | ||
+++ b/subprojects/rizin-shell-parser/src/parser.c | ||
@@ -1,4 +1,4 @@ | ||
-#include <tree_sitter/parser.h> | ||
+#include "tree_sitter/parser.h" | ||
|
||
#if defined(__GNUC__) || defined(__clang__) | ||
#pragma GCC diagnostic push | ||
diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c | ||
index 133c5850da9..9c17e4a0c13 100644 | ||
--- a/subprojects/rizin-shell-parser/src/scanner.c | ||
+++ b/subprojects/rizin-shell-parser/src/scanner.c | ||
@@ -1,7 +1,7 @@ | ||
// SPDX-FileCopyrightText: 2020 ret2libc <sirmy15@gmail.com> | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
-#include <tree_sitter/parser.h> | ||
+#include "tree_sitter/parser.h" | ||
#include <ctype.h> | ||
#include <wctype.h> | ||
#include <stdio.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters