summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-06-09 10:58:34 +0800
commit374a42466ee4e9d0a25ef65f73b84e3c870d6f79 (patch)
tree7c9e1575cdbf8b011d56f65f16a8dcc2431bc66f /src/parse
parent9f8d9fa81be1c11b50bc5ced608a3bd18a53de21 (diff)
downloadmrust-374a42466ee4e9d0a25ef65f73b84e3c870d6f79.tar.gz
Fix use of hard tabs
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/lex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parse/lex.cpp b/src/parse/lex.cpp
index 0587e443..9388fca4 100644
--- a/src/parse/lex.cpp
+++ b/src/parse/lex.cpp
@@ -223,8 +223,8 @@ signed int Lexer::getSymbol()
bool issym(Codepoint ch)
{
- if('0' <= ch.v && ch.v <= '9')
- return true;
+ if('0' <= ch.v && ch.v <= '9')
+ return true;
if( ::std::isalpha(ch.v) )
return true;
if( ch == '_' )
@@ -668,7 +668,7 @@ Token Lexer::getTokenInt()
{
return Token(TOK_EOF);
}
- throw "Fell off the end of getTokenInt";
+ throw "Fell off the end of getTokenInt";
}
Token Lexer::getTokenInt_RawString(bool is_byte)
@@ -983,7 +983,7 @@ bool Codepoint::isspace() const {
case ' ':
case 0xC: // ^L
case 0x85:
- case 0x200E: case 0x200F: // LTR / RTL markers
+ case 0x200E: case 0x200F: // LTR / RTL markers
case 0x2028: // Line Separator
case 0x2029: // Paragrah Separator
return true;