Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
f5483eda
Verified
Commit
f5483eda
authored
Jan 28, 2019
by
Camil Staps
Browse files
Accept hierarchical module names also for main modules (as already in the itask branch)
parent
b548b802
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/parse.icl
View file @
f5483eda
...
...
@@ -317,7 +317,7 @@ where
#
(
token
,
scanState
)
=
nextToken
GeneralContext
scanState
|
is_icl_mod
|
token
==
ModuleToken
#
(
token
,
scanState
)
=
nextToken
General
Context
scanState
#
(
token
,
scanState
)
=
nextToken
ModuleName
Context
scanState
=
try_module_name
token
MK_Main
scanState
|
token
==
ImpModuleToken
=
try_module_token
MK_Module
scanState
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment