Skip to content

Commit 4cb9fcd

Browse files
authored
Merge pull request #119 from easycoder/dev
add 'backtick'
2 parents 6431ec8 + 9fe1075 commit 4cb9fcd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

js/easycoder/Core.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ const EasyCoder_Core = {
23172317
radius_t
23182318
};
23192319
}
2320-
if ([`now`, `today`, `newline`, `break`, `empty`, `uuid`].includes(token)) {
2320+
if ([`now`, `today`, `newline`, `backtick`, `break`, `empty`, `uuid`].includes(token)) {
23212321
compiler.next();
23222322
return {
23232323
domain: `core`,
@@ -2750,6 +2750,12 @@ const EasyCoder_Core = {
27502750
numeric: false,
27512751
content: `\n`
27522752
};
2753+
case `backtick`:
2754+
return {
2755+
type: `constant`,
2756+
numeric: false,
2757+
content: `\``
2758+
};
27532759
case `break`:
27542760
return {
27552761
type: `constant`,

0 commit comments

Comments
 (0)