diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-08-27 22:06:33 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-08-28 00:24:15 +0200 |
commit | 71d1c1b1d5f994214d18dfffa1ea53db5067bcc3 (patch) | |
tree | 20e10ea0318ccfec458d2308cebc2f792a7976a9 /crawl-ref/source/util/levcomp.ypp | |
parent | 33e7c498ba8227245115231373b9a25430ca5eb2 (diff) | |
download | crawl-ref-71d1c1b1d5f994214d18dfffa1ea53db5067bcc3.tar.gz crawl-ref-71d1c1b1d5f994214d18dfffa1ea53db5067bcc3.zip |
Cut another case of std::
Not rebuiding the prebuilt copies, though; there's no point in extra churn
just for this reason.
Diffstat (limited to 'crawl-ref/source/util/levcomp.ypp')
-rw-r--r-- | crawl-ref/source/util/levcomp.ypp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/util/levcomp.ypp b/crawl-ref/source/util/levcomp.ypp index 45675567f7..b68e8e46d5 100644 --- a/crawl-ref/source/util/levcomp.ypp +++ b/crawl-ref/source/util/levcomp.ypp @@ -81,7 +81,7 @@ def : defdepth {} defdepth : DEFAULT_DEPTH STRING { dgn_reset_default_depth(); - std::string err = dgn_set_default_depth($2); + string err = dgn_set_default_depth($2); if (!err.empty()) yyerror(make_stringf("Bad default-depth: %s (%s)", $2, err.c_str()).c_str()); @@ -100,7 +100,7 @@ level : name map_specs yyerror( lc_global_prelude.orig_error().c_str() ); } - std::string err = + string err = lc_map.validate_map_def(lc_default_depths); dump_map(lc_map); if (!err.empty()) @@ -342,10 +342,10 @@ bflags : BFLAGS STRING marker : MARKER STRING { - std::string key, arg; + string key, arg; int sep(0); - const std::string err = + const string err = mapdef_split_key_item($2, &key, &sep, &arg); if (!err.empty()) |