summaryrefslogtreecommitdiff
path: root/src/expand/asm.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-10-27 19:33:59 +0800
committerJohn Hodge <tpg@mutabah.net>2019-10-27 19:33:59 +0800
commitdc806b29ce79d6ba40aca85bbdc5640261070910 (patch)
treecf472f17fe51ae2ac3f3cb1b478570a22bf87d12 /src/expand/asm.cpp
parentfd19c0f181ab979472298ddffb00f2991e5d25e5 (diff)
downloadmrust-dc806b29ce79d6ba40aca85bbdc5640261070910.tar.gz
MSVC - General compilation fixes, `hello.exe` building and running
Diffstat (limited to 'src/expand/asm.cpp')
-rw-r--r--src/expand/asm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/asm.cpp b/src/expand/asm.cpp
index f8b3984d..90612758 100644
--- a/src/expand/asm.cpp
+++ b/src/expand/asm.cpp
@@ -166,7 +166,7 @@ class CAsmExpander:
{
GET_TOK(tok, lex);
- if( GET_TOK(tok, lex) == TOK_IDENT && tok.str() == "volatile" )
+ if( GET_TOK(tok, lex) == TOK_IDENT && tok.istr() == "volatile" )
{
flags.push_back( "volatile" );
}