[gnoduino] Bug 731906 - lastInclude regexp misses slash character
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino] Bug 731906 - lastInclude regexp misses slash character
- Date: Thu, 23 Oct 2014 13:43:11 +0000 (UTC)
commit b4948f67a86049e674cfba2b7523e89785123202
Author: JM. Philippe <jean-michel philippe doudoulinux org>
Date: Thu Oct 23 15:42:42 2014 +0200
Bug 731906 - lastInclude regexp misses slash character
src/preproc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/preproc.py b/src/preproc.py
index fd47641..7b55222 100644
--- a/src/preproc.py
+++ b/src/preproc.py
@@ -37,7 +37,7 @@ def firstStatement(instr):
return m.end(0)
def lastInclude(instr):
- m = re.finditer(r"^#include\s+[\w+\".<>\-]+", instr, re.M)
+ m = re.finditer(r"^#include\s+[\w+\".<>\-/]+", instr, re.M)
try:
return max(enumerate(m))[1].end()
except:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]