[BACK]Return to expr.y CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / bin / expr

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/bin/expr/expr.y between version 1.29 and 1.30

version 1.29, 2003/02/14 16:17:30 version 1.30, 2004/03/20 08:45:05
Line 116  expr: item { $$ = $1; }
Line 116  expr: item { $$ = $1; }
                 int eval;                  int eval;
   
                 /* compile regular expression */                  /* compile regular expression */
                 if ((eval = regcomp(&rp, $3, 0)) != 0) {                  if ((eval = regcomp(&rp, $3, REG_BASIC)) != 0) {
                         char errbuf[256];                          char errbuf[256];
                         (void)regerror(eval, &rp, errbuf, sizeof(errbuf));                          (void)regerror(eval, &rp, errbuf, sizeof(errbuf));
                         yyerror("%s", errbuf);                          yyerror("%s", errbuf);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

CVSweb <webmaster@jp.NetBSD.org>