Skip to content

Commit

Permalink
Fix tsify.pl to work with latest code.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Dec 9, 2017
1 parent 694ed52 commit ea1b39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asio/tsify.pl
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ sub copy_source_file
}

# Conditional replacements.
if ($line =~ /^(.* *)namespace asio {/)
if ($line =~ /^(.* *)namespace asio \{/)
{
print_line($output, $1 . "namespace std {", $from, $lineno);
print_line($output, $1 . "namespace experimental {", $from, $lineno);
Expand Down Expand Up @@ -356,7 +356,7 @@ sub copy_source_file
{
# Line is removed.
}
elsif ($line =~ /asio::thread/)
elsif ($line =~ /asio::thread\b/)
{
if ($is_test)
{
Expand Down

0 comments on commit ea1b39f

Please sign in to comment.