1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #750 resolved

smalltalk problem parsing comments and strings that contain quotes

Anonymous created an issue

The pygment smalltalk parser doesn't handle quoted quotes in strings and comments correctly. The smalltalk language escapes quotes in strings and double quotes in comments by doubling them. See:


Example of problem code:

bar "The following string doesn't have quotes in it:" ^'ok'

foo "This string has a quote at the beginning and end. This confuses pygments:" ^'''bad'''

Comments (1)

  1. Log in to comment