Re: [PATCH 4/8] revert: separate out parse errors logically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



New commit message.

    revert: simplify insn parsing logic

    Our instruction sheet parser first looks for a valid action by
    checking that the buffer starts with either "pick" or "revert".  Then,
    it looks for either spaces or tabs before looking for the object name,
    erroring out if it doesn't find any.  Simplify this logic without
    making any functional changes by looking for ("pick " or "pick\t") or
    ("revert " or "revert\t") in the first place.

-- Ram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]