summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-13 00:35:40 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-13 00:36:01 +0100
commite1c4dd5f3bfa7ebe5278e86e620be8139196686e (patch)
treee1fd17337c88a2d846b52aa505932505700270b6 /examples
parentTokenizer: Add support for tokenizing functions (diff)
downloadinterpreter-e1c4dd5f3bfa7ebe5278e86e620be8139196686e.tar.gz
interpreter-e1c4dd5f3bfa7ebe5278e86e620be8139196686e.tar.bz2
interpreter-e1c4dd5f3bfa7ebe5278e86e620be8139196686e.zip
Tokenizer: Add suport for underscores in identifier parsing
Diffstat (limited to 'examples')
-rw-r--r--examples/5.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/5.src b/examples/5.src
index 3582794..521b9d7 100644
--- a/examples/5.src
+++ b/examples/5.src
@@ -1,7 +1,7 @@
-let printOne = () => {
+let print_one = () => {
 	print(1);
 };
 
-printOne();
+print_one();
 
 return 0;