about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-05-25 22:49:18 +0200
committerBaitinq <[email protected]>2025-05-25 22:49:53 +0200
commitf5904b62012ca475c14ad55b7f2c0b0c5c48b362 (patch)
tree890b3f1274b8dab2e7e2a2052d7d452fa3ca6db2 /src/bootstrap
parentExamples: Fix example 21 (diff)
downloadpry-lang-f5904b62012ca475c14ad55b7f2c0b0c5c48b362.tar.gz
pry-lang-f5904b62012ca475c14ad55b7f2c0b0c5c48b362.tar.bz2
pry-lang-f5904b62012ca475c14ad55b7f2c0b0c5c48b362.zip
Feature: Start adding structs support
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/tokenizer.src3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/tokenizer.src b/src/bootstrap/tokenizer.src
index 49a717b..a24d090 100644
--- a/src/bootstrap/tokenizer.src
+++ b/src/bootstrap/tokenizer.src
@@ -311,6 +311,9 @@ let tokenizer_next = () => *i8 {
 	if tokenizer_accept_string(">") {
 	    return ">";
 	};
+	if tokenizer_accept_string(".") {
+	    return ".";
+	};
 	
 	let maybe_int = tokenizer_accept_int_type();
 	if maybe_int != cast(*i64, null) {