pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Comments are breaking the parser

Open Ducasse opened this issue 1 year ago • 0 comments

I have the following method

closeMe
	"the link url - ![alt text](url) - url is allowed to have title in quotes
	(url ""title"") "

	| split title |
	split := url splitOnFirst: Character space.
	self reference: (MicResourceReference fromUri: split first).
	title := (split second ifNil: [ '' ]) 
		trimBoth: [:char | {$". Character space} includes: char].
	self arguments: (MicArgumentList withString: title)

and I cannot comment

title := (split second ifNil: [ '' ]) 
		trimBoth: [:char | {$". Character space} includes: char].
	self arguments: (MicArgumentList withString: title)

To me it looks like a parser bug.

Ducasse avatar May 25 '24 16:05 Ducasse