]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/emp_ematch.l
make yacc usage POSIX compatible
[mirror_iproute2.git] / tc / emp_ematch.l
index dc1067591a96443e8f6db796851e92ca3653f00b..2f4926d43d5b2a9eb55253ac2eb26d2e4c86c1aa 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 %{
- #include "emp_ematch.yacc.h"
+ #include "emp_ematch.tab.h"
  #include "m_ematch.h"
 
  extern int ematch_argc;
 ")"                                    {
                                                return yylval.i = *yytext;
                                        }
-[^ \t\r\n()]+                          {
+[^" \t\r\n()][^ \t\r\n()]*             {
                                                yylval.b = bstr_alloc(yytext);
                                                if (yylval.b == NULL)
                                                        return ERROR;