Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add 'backtick'
  • Loading branch information
graham-trott committed Jun 12, 2020
commit 9fe1075cbf0d897bc65fc4331d159148275d33c7
8 changes: 7 additions & 1 deletion js/easycoder/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -2317,7 +2317,7 @@ const EasyCoder_Core = {
radius_t
};
}
if ([`now`, `today`, `newline`, `break`, `empty`, `uuid`].includes(token)) {
if ([`now`, `today`, `newline`, `backtick`, `break`, `empty`, `uuid`].includes(token)) {
compiler.next();
return {
domain: `core`,
Expand Down Expand Up @@ -2750,6 +2750,12 @@ const EasyCoder_Core = {
numeric: false,
content: `\n`
};
case `backtick`:
return {
type: `constant`,
numeric: false,
content: `\``
};
case `break`:
return {
type: `constant`,
Expand Down