PR# 12799 Compilation without configuration does not work for file names with spaces
Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2007/05/21
Class: Bug
Severity: Serious
Number: 12799
Release: 6.0.68510
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7
Solaris 9 on SPARC
Synopsis: Compilation without configuration does not work for file names with spaces
Description
Compilation without configuration (e.g. "ec test.e") does not work if the file name has any spaces. For example, the following does not work ec 'test me'.e The automatically generated configuration file is not valid. Compiler reports: Error code: VD00 General configuration parsing error. What to do: fix the configuration file. Parse error in ./test me.ecf (line 3, column 24): Invalid target name test me. Same problem for many (all?) special characters.
To Reproduce
Problem Report Interactions
The automatically generated configuration file assumes also that the root class has the same name as the filename (and a creation procedure called 'make'). Thus any file which violates normal class name identifier syntax will be an error case, even if the configuration target is handled properly. So I don't know if we should allow files with special characters in them. It definitely needs a proper error message to say the filename is invalid.