From 993e5fedef0bedfb90725016e50f533855f8a135 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 23 Jul 2004 11:33:58 -0700 Subject: [PATCH] Handle tokenized include-filename with angle brackets. --- pre-process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pre-process.c b/pre-process.c index e5750c2e..972da270 100644 --- a/pre-process.c +++ b/pre-process.c @@ -669,6 +669,10 @@ static int handle_include(struct stream *stream, struct token **list, struct tok expand_list(&token->next); expect = 0; next = token; + if (match_op(token->next, '<')) { + next = token->next; + expect = '>'; + } } token = next->next; filename = token_name_sequence(token, expect, token); -- 2.11.4.GIT