PR# 2946 Can't create infix or prefix operator names that contain a percent sign

Problem Report Summary
Submitter:
Category: EiffelBase
Priority: Medium
Date: 2001/09/18
Class: Bug
Severity: Non-critical
Number: 2946
Release: 4.5.020
Confidential: No
Status: Open
Responsible:
Environment: Windows NT 4.0, VC++ 6.0 for backend
Synopsis: Can't create infix or prefix operator names that contain a percent sign

Description
From reading OOSC 2, it should be legal to create a prefix operator with a name like 
   "#$%"
or
   "#$%%"
But with the first version, EiffelBench is escaping the closing quote and reports a syntax error at the end of the line. With the second version, EB reports a syntax error on the closing quote.

Greg
To Reproduce
-- This is my test program
class
	JUST_TEST

creation

	make

feature -- Initialization

	make is
		do
		end;

feature prefix "#$%" is do end

end -- class JUST_TEST
Problem Report Interactions
From:    Date:2001/09/18    Download