Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #712 from lionello/bug4483
Browse files Browse the repository at this point in the history
Preparation for issue 4483, specifying foreach char iteration type
  • Loading branch information
andralex committed Mar 16, 2014
2 parents c9d97a1 + b4706e8 commit bb0e133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/demangle.d
Expand Up @@ -305,7 +305,7 @@ private struct Demangle

void match( const(char)[] val )
{
foreach( e; val )
foreach(char e; val )
{
test( e );
next();
Expand Down Expand Up @@ -478,7 +478,7 @@ private struct Demangle
error( "LName must be at least 1 character" );
if( '_' != tok() && !isAlpha( tok() ) )
error( "Invalid character in LName" );
foreach( e; buf[pos + 1 .. pos + n] )
foreach(char e; buf[pos + 1 .. pos + n] )
{
if( '_' != e && !isAlpha( e ) && !isDigit( e ) )
error( "Invalid character in LName" );
Expand Down

0 comments on commit bb0e133

Please sign in to comment.