diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-08 19:45:19 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-08 19:45:19 +0200 |
| commit | 7d07bef760a8807fe49fbe5c90799a1822f95973 (patch) | |
| tree | 8b8d8ed0003dc61c4bd7313df86f6cbaea3d4b82 /source/lexer.elna | |
| parent | d392f0c54a7748b816ab327758ae835f73cd1c0a (diff) | |
| download | elna-7d07bef760a8807fe49fbe5c90799a1822f95973.tar.gz | |
Make modules re-exportable
Diffstat (limited to 'source/lexer.elna')
| -rw-r--r-- | source/lexer.elna | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lexer.elna b/source/lexer.elna index 9ba593f..71e76a7 100644 --- a/source/lexer.elna +++ b/source/lexer.elna @@ -2,7 +2,7 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *) module -import cstdio, common, cstdlib +import sys.posix.cstdio, common, sys.posix.cstdlib type ElnaLexerState* = ( @@ -762,8 +762,8 @@ begin cursor^.start := code_pointer; cursor^.finish := code_pointer; cursor^.token := nil; - cursor^.position.start_location := ElnaLocation{ line: 1u, column: 1u }; - cursor^.position.end_location := ElnaLocation{ line: 1u, column: 1u } + cursor^.position.start_location := { ElnaLocation; line: 1u, column: 1u }; + cursor^.position.end_location := { ElnaLocation; line: 1u, column: 1u } return (** |
