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
26c37440
...
26c3744021230873c1797bebde1db0ded2307b0a
authored
2005-03-08 22:20:10 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bugfix: accept ',' as OR
1 parent
398e1c56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mimeview/mimetypes.l
mimeview/mimetypes.l
View file @
26c3744
...
...
@@ -91,7 +91,7 @@ WS [ \t]*
prev_state = YYSTATE;
BEGIN(HEX);
}
<INITIAL>[^ \t<\\\n)+
&]/[ \t\\\n)+
&] {
<INITIAL>[^ \t<\\\n)+
,&]/[ \t\\\n)+,
&] {
obstack_grow (&stack, yytext, yyleng);
yylval.string.len = obstack_object_size (&stack);
obstack_1grow (&stack, 0);
...
...
@@ -124,7 +124,7 @@ WS [ \t]*
"&&" return '+';
"||" return ',';
/* Operators */
"!"|"+"|"("|")"|"/" return yytext[0];
"!"|"+"|"
,"|"
("|")"|"/" return yytext[0];
<ARGS>"," return yytext[0];
<ARGS>")" { BEGIN(INITIAL); return yytext[0]; }
<INITIAL,ARGS,HEX>. {
...
...
Please
register
or
sign in
to post a comment