Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C compiler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • clean-compiler-and-rts
  • compiler
  • Issues
  • #1
Closed
Open
Issue created Oct 25, 2018 by Mart Lubbers@mlubbersDeveloper

Impossible to compile something with a ':' in the directory path

e.g.on linux 64:

#!/bin/bash
mkdir 'test:test'
cd 'test:test'
echo -e "module test\nStart = 42" > test.icl
cpm project test create
cpm test.prj

This is due to the fact that cocl takes a pathstring that separates paths with a : on linux (and on mac as well) It is not a problem on windows because : is an illegal character there.

I propose to allow escaping of : to denote a literal :.

This requires an escape for the escape character as well. Say the escape character is \ then a directory called test\:test may pose problems and therefore needs to be written as test\\\:test

Edited Oct 25, 2018 by Mart Lubbers
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking