diff options
| Commit | 22b321bb4497543493010f57587c7a9dceb839b6 (patch) | |
|---|---|---|
| Author | 2021-09-21 22:48:52 +0300 | |
| Committer | 2021-09-21 22:48:52 +0300 | |
| Files | 672d53f7d257df54d2222252bd2441f12b3be950 /spasm/src/asm/lexdump.cpp | |
| IPL-22b321bb4497543493010f57587c7a9dceb839b6.tar IPL-22b321bb4497543493010f57587c7a9dceb839b6.tar.gz IPL-22b321bb4497543493010f57587c7a9dceb839b6.zip | ||
| Parent | f110794b0d57e47e335ae5eeffbb18a7a80580ad (diff) | |
| Parent | 2f9dea35cff40a676b4603b8ffbd1f2669a4195a (diff) | |
Merge pull request #115 from SofiaCPP/feature/gctest
Add app to test GC implementations
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | spasm/src/asm/lexdump.cpp | 6 |
diff --git a/spasm/src/asm/lexdump.cpp b/spasm/src/asm/lexdump.cpp index 440ff1e..b609124 100644 --- a/spasm/src/asm/lexdump.cpp +++ b/spasm/src/asm/lexdump.cpp @@ -42,12 +42,12 @@ class TokenDumper : public TokenStream std::cout.width(8); std::cout << token.lineno(); std::cout << ": " << token_name[ttype]; - if (ttype == Token::integer || ttype == Token::xinteger) + if (ttype == Token::Integer || ttype == Token::XInteger) std::cout << '|' << token.value_int() << '|'; - else if (ttype == Token::ident) + else if (ttype == Token::Ident) std::cout << '|' << token.value_str() << '|'; std::cout << std::endl; - if (token.type() == Token::endinput) + if (token.type() == Token::EndInput) end_reached = true; } |
