ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

include is fooled by Windows drive letters #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
> include 'C:/Program Files (x86)/genyris-0.6.10/test/acceptance/test-Base64.g'
:
What do you see?
*** Error - 'include: could not locate \'C:/Program Files (x86)/genyris-0.6.10/t
est/acceptance/test-Base64.g\''

What is the expected output?
no error

Original issue reported on code.google.com by birchb1...@gmail.com on 10 Apr 2013 at 4:30

GoogleCodeExporter commented 9 years ago
Removing the 'C:' is a workaround:

> include '/Program Files (x86)/genyris-0.6.10/examples/queens.g'
:
'/Program Files (x86)/genyris-0.6.10/examples/queens.g' # String

So maybe add os-specific logic for Windows. 
IF windows and if '[A-Za-z]\:' THEN
   absolute
...

Original comment by birchb1...@gmail.com on 10 Apr 2013 at 4:37

GoogleCodeExporter commented 9 years ago
Presumed fix in 0.6.10-2-gd4cfe33

Original comment by birchb1...@gmail.com on 10 Apr 2013 at 1:53

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 13 Apr 2013 at 8:44