diff options
author | John Hodge <tpg@mutabah.net> | 2019-10-27 19:33:59 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2019-10-27 19:33:59 +0800 |
commit | dc806b29ce79d6ba40aca85bbdc5640261070910 (patch) | |
tree | cf472f17fe51ae2ac3f3cb1b478570a22bf87d12 /src/expand/asm.cpp | |
parent | fd19c0f181ab979472298ddffb00f2991e5d25e5 (diff) | |
download | mrust-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.cpp | 2 |
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" ); } |