cvs commit: src/sbin/devd parse.y

Warner Losh imp at FreeBSD.org
Wed May 14 19:23:33 PDT 2003


imp         2003/05/14 19:23:32 PDT

  FreeBSD src repository

  Modified files:
    sbin/devd            parse.y 
  Log:
  Allow zero or more actions in an action list, rather than requiring
  one or more actions in the list.  This makes constructs like:
  
  attach 10 {
  //      echo "Driver $device_name attached"
  };
  
  to be accepted by the parser.  It will be treated as if the user had
  entered:
  
  // attach 10 {
  //      echo "Driver $device_name attached"
  // };
  
  (eg totally ignored).
  
  Approved by: re@ (rwatson)
  
  Revision  Changes    Path
  1.3       +3 -0      src/sbin/devd/parse.y


More information about the cvs-src mailing list