summaryrefslogtreecommitdiff
path: root/lib/Automake/Parser/Lexer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Automake/Parser/Lexer.pm')
-rw-r--r--lib/Automake/Parser/Lexer.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Automake/Parser/Lexer.pm b/lib/Automake/Parser/Lexer.pm
index 6f09291b9..1b8a22777 100644
--- a/lib/Automake/Parser/Lexer.pm
+++ b/lib/Automake/Parser/Lexer.pm
@@ -98,7 +98,7 @@ sub lex($$)
{
push @tokens, [$1];
}
- elsif( s/^([a-zA-Z0-9]+)//o )
+ elsif( s/^([a-zA-Z0-9_]+)//o )
{
push @tokens, ["value",$1];
}
@@ -113,7 +113,7 @@ sub lex($$)
push @tokens, [$1];
$rhs = 1;
}
- elsif( s/^(:|_)//o )
+ elsif( s/^(:|_|!)//o )
{
push @tokens, [$1];
}