Tools: param_parse.py: correct example comment

This commit is contained in:
Peter Barker 2017-09-25 10:03:50 +10:00 committed by Jacob Walser
parent b04c22dd93
commit b9e68034eb

View File

@ -25,7 +25,7 @@ prog_param = re.compile(r"@Param: *(\w+).*((?:\n[ \t]*// @(\w+): (.*))+)(?:\n\n|
# match e.g @Value: 0=Unity, 1=Koala, 17=Liability # match e.g @Value: 0=Unity, 1=Koala, 17=Liability
prog_param_fields = re.compile(r"[ \t]*// @(\w+): (.*)") prog_param_fields = re.compile(r"[ \t]*// @(\w+): (.*)")
# match e.g @Value[ArduCopter]: 0=Volcano, 1=Peppermint # match e.g @Value{ArduCopter}: 0=Volcano, 1=Peppermint
prog_param_tagged_fields = re.compile(r"[ \t]*// @(\w+){([\w,]+)}: (.*)") prog_param_tagged_fields = re.compile(r"[ \t]*// @(\w+){([\w,]+)}: (.*)")
prog_groups = re.compile(r"@Group: *(\w+).*((?:\n[ \t]*// @(Path): (\S+))+)", re.MULTILINE) prog_groups = re.compile(r"@Group: *(\w+).*((?:\n[ \t]*// @(Path): (\S+))+)", re.MULTILINE)