Skip to content

Commit

Permalink
php 5.3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal committed May 4, 2021
1 parent a947fa0 commit 7354167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SQLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function _lex($sql){
# <regular identifier>
# <key word>
if (preg_match('![[:alpha:]][[:alnum:]_]*!A', $sql, $m, 0, $pos)){
$source_map[] = [$pos, strlen($m[0])];
$source_map[] = array($pos, strlen($m[0]));
$pos += strlen($m[0]);
continue;
}
Expand Down

0 comments on commit 7354167

Please sign in to comment.