Open GoogleCodeExporter opened 8 years ago
This patch prevents people from putting comments on the same line as options?
ie:
maxbytes = 12 # 12 megs should be enough for anybody.
uhhh... might need to require "escaping" that char for -D or... I dunno. Don't
do that? check to see if there're characters after "-D #" ? remove any
characters after "-D ?".
If I apply as is, within an hour someone will complain about the comment issue,
I'm sure of it. :)
Original comment by dorma...@rydia.net
on 30 Jul 2012 at 12:30
Good point. Does seem like escaping should be required. I'll poke at a new
regex.
Original comment by superama...@gmail.com
on 31 Jul 2012 at 6:16
Ok, using lookbehind one can now do what is expected by escaping the # with \
-D \# # This works
# This works
-m 64 # this works
Original comment by superama...@gmail.com
on 31 Jul 2012 at 9:39
Attachments:
Original issue reported on code.google.com by
superama...@gmail.com
on 29 Jul 2012 at 6:26Attachments: