Also allow the possibility for negative values being passed to image option values

This commit is contained in:
Blake Thompson 2015-05-15 15:51:53 -05:00
parent 4fce3a7451
commit cf3ff82f1a

View file

@ -42,9 +42,9 @@ struct image_options_grammar
;
pair = key >> -('=' >> value)
;
key = char_("a-zA-Z_") >> *char_("a-zA-Z_0-9\\.")
key = char_("a-zA-Z_") >> *char_("a-zA-Z_0-9\\.\\-")
;
value = +char_("a-zA-Z_0-9\\.")
value = +char_("a-zA-Z_0-9\\.\\-")
;
}