aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml/tokenizer.odin
diff options
context:
space:
mode:
authorKostas Tsiligkiris <ktsiligkiris@outlook.com>2024-01-17 07:00:25 +0200
committerKostas Tsiligkiris <ktsiligkiris@outlook.com>2024-01-17 07:00:25 +0200
commit5476d434410882383862d1d17a63d79502565bf4 (patch)
tree94e71d4533f774cad0d13733dd904c25e82094f1 /core/encoding/xml/tokenizer.odin
parentae0be9c78587a13857f03cdc08602cf2e6a9282b (diff)
Move package xml before copyright
Having the same copyright on all files made the documentation script to include it multiple times in the package information.
Diffstat (limited to 'core/encoding/xml/tokenizer.odin')
-rw-r--r--core/encoding/xml/tokenizer.odin6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/encoding/xml/tokenizer.odin b/core/encoding/xml/tokenizer.odin
index cd055475c..a223a75d6 100644
--- a/core/encoding/xml/tokenizer.odin
+++ b/core/encoding/xml/tokenizer.odin
@@ -1,3 +1,5 @@
+package xml
+
/*
An XML 1.0 / 1.1 parser
@@ -9,7 +11,7 @@
List of contributors:
Jeroen van Rijn: Initial implementation.
*/
-package xml
+
import "core:fmt"
import "core:unicode"
@@ -433,4 +435,4 @@ scan :: proc(t: ^Tokenizer) -> Token {
lit = string(t.src[offset : t.offset])
}
return Token{kind, lit, pos}
-} \ No newline at end of file
+}