[BACK]Return to lex.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / awk

Diff for /src/usr.bin/awk/lex.c between version 1.23 and 1.24

version 1.23, 2020/07/13 14:03:52 version 1.24, 2020/07/30 17:11:10
Line 551 
Line 551 
                          */                           */
                         if (!do_posix) {                          if (!do_posix) {
                                 if (c == '[') {                                  if (c == '[') {
                                         if (openclass == 0 || peek() == ':') {                                          int nextc = peek();
                                           if (openclass == 0 || nextc == ':' ||
                                               nextc == '.' || nextc == '=') {
                                                 if (++openclass == 1)                                                  if (++openclass == 1)
                                                         cstart = bp;                                                          cstart = bp;
                                         }                                          }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24