mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 10:05:46 +01:00
✌️
This commit is contained in:
parent
76e2892949
commit
a74f12dc98
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ const keywords = [
|
|||
'then',
|
||||
'else',
|
||||
'switch',
|
||||
'match',
|
||||
'case',
|
||||
'for',
|
||||
'each',
|
||||
|
@ -291,7 +292,7 @@ const elements = [
|
|||
const prev = source[i - 1];
|
||||
if (prev != '.') return null;
|
||||
|
||||
const match = code.match(/^[a-zA-Z_-]+/);
|
||||
const match = code.match(/^[a-zA-Z0-9_-]+/);
|
||||
if (!match) return null;
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue