]> granicus.if.org Git - nethack/commit
symset parsing
authorPatR <rankin@nethack.org>
Thu, 7 Apr 2016 00:06:33 +0000 (17:06 -0700)
committerPatR <rankin@nethack.org>
Thu, 7 Apr 2016 00:06:33 +0000 (17:06 -0700)
commit3381aa41220fac81d7cccb220d0bd39849e14fd8
tree2b42026a9d03fb54da162d7529986934230fabad
parent3d50dbcbde1329aa2347efc2a37bcff25ec5536a
symset parsing

Add support for character enclosed within single quotes.  Single
character without quotes would work for most characters, but not
'#' and possibly not '^' or '\\'.  All the values in dat/symbols
are specified via backslash+digits so it isn't obvious that some
other form of value is allowed.

I think this parsing accepts all valid values.  It doesn't reject
all invalid ones:  opening quote followed by valid escape sequence
followed by junk followed by closing quote will ignore the junk.
I don't think there's any pressing need to worry about that.
doc/fixes36.1
include/extern.h
src/files.c
src/options.c