Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit ccd9f1a

Browse files
fix octals
1 parent 4838953 commit ccd9f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars/tree-sitter-php.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ scopes:
215215
'integer': [
216216
{match: '^0[xX]', scopes: 'constant.numeric.hex.php'},
217217
{match: '^0[bB]', scopes: 'constant.numeric.binary.php'},
218-
{match: '^0[0-7]', scopes: 'constant.numeric.octal.php'},
218+
{match: '^0[oO0-7]', scopes: 'constant.numeric.octal.php'},
219219
'constant.numeric.decimal.php'
220220
]
221221
'float': 'constant.numeric.decimal.php'

0 commit comments

Comments
 (0)