aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore70
-rw-r--r--examples/large.halk1
-rw-r--r--src/lexer.c1
3 files changed, 1 insertions, 71 deletions
diff --git a/.gitignore b/.gitignore
index 30927ab..300b650 100755
--- a/.gitignore
+++ b/.gitignore
@@ -1,84 +1,14 @@
-
-# Created by https://www.gitignore.io/api/vim,c
-# Edit at https://www.gitignore.io/?templates=vim,c
-
-### C ###
-# Prerequisites
-*.d
-
-# Object files
*.o
-*.ko
-*.obj
-*.elf
-
-# Linker output
-*.ilk
-*.map
-*.exp
-
-# Precompiled Headers
-*.gch
-*.pch
-
-# Libraries
-*.lib
-*.a
-*.la
-*.lo
-
-# Shared objects (inc. Windows DLLs)
-*.dll
-*.so
-*.so.*
-*.dylib
-
-# Executables
-*.exe
*.out
-*.app
-*.i*86
-*.x86_64
-*.hex
-
-# Debug files
-*.dSYM/
-*.su
-*.idb
-*.pdb
-
-# Kernel Module Compile Results
-*.mod*
-*.cmd
-.tmp_versions/
-modules.order
-Module.symvers
-Mkfile.old
-dkms.conf
-
-### Vim ###
-# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
-
-# Session
Session.vim
Sessionx.vim
-
-# Temporary
.netrwhist
*~
-# Auto-generated tag files
tags
-# Persistent undo
[._]*.un~
-
-# End of https://www.gitignore.io/api/vim,c
-
-# macos woes
-.DS_Store
-plan.md
halk
diff --git a/examples/large.halk b/examples/large.halk
new file mode 100644
index 0000000..eb26a48
--- /dev/null
+++ b/examples/large.halk
@@ -0,0 +1 @@
+namespace:new_namespace = { `what` };
diff --git a/src/lexer.c b/src/lexer.c
index 60fa1a5..9734f99 100644
--- a/src/lexer.c
+++ b/src/lexer.c
@@ -140,4 +140,3 @@ token_t* lexer_collect(lexer_t* lexer, int (*end_char)(char), int fskip, int lsk
return token_init(type, token);
}
-