Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
c49ee849
...
c49ee849a732ac1e4736ccef0e5621f7b26ca1b3
authored
2002-12-12 14:34:40 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Allow #include within a :text block
1 parent
a10ca99e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
libsieve/sieve.l
libsieve/sieve.l
View file @
c49ee84
...
...
@@ -350,6 +350,7 @@ text: { BEGIN(ML); multiline_begin (); }
multiline_add ();
multiline_finish ();
return MULTILINE; }
<ML>#[ \t]*include.*\n { sieve_include (); }
<ML>.*\n { sieve_line_num++; multiline_add (); }
{WS} ;
\n { sieve_line_num++; }
...
...
@@ -439,7 +440,7 @@ sieve_include ()
if (usepath && name[0] != '/' && memcmp (name, "..", 2))
{
char *p = name;
if (list_do (sieve_include_path, _try_include, &p))
if (
sieve_include_path &&
list_do (sieve_include_path, _try_include, &p))
{
push_source (p);
free (name);
...
...
Please
register
or
sign in
to post a comment