TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000185TADS 3Compilerpublic2013-01-13 19:012013-04-23 02:34
ReporterNRTurner 
Assigned ToMichael Roberts 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformMacintoshOSMacOSOS VersionX
Summary0000185: Obscure error messages for illegal unicode symbol in preprocessor statement
DescriptionIf there is a non-ASCII unicode character in a preprocessor symbol, obscure error messages can result.
Steps To ReproduceDefine an alias to an ASCII symbol which is identical but with a non-ASCII unicode character appended.
Use the ASCII symbol in the source code.
Additional Information$ t3make
TADS Compiler 3.1.2 Copyright 1999, 2012 Michael J. Roberts
    Files to build: 4
    symbol_export 1.t -> obj/1.t3s
1.t(7): error:
Invalid character in input: "e". This character is not valid in any symbol
name or as punctuation in source code; the character will be ignored. Check
for missing quotes around a string, a missing ending quote for a string just
before this point, or for a quote mark embedded within an earlier string (if
you want to use a quote mark within a string, you must precede the quote mark
with a backslash '\').


1.t(13): error:
Invalid character in input: "e". This character is not valid in any symbol
name or as punctuation in source code; the character will be ignored. Check
for missing quotes around a string, a missing ending quote for a string just
before this point, or for a quote mark embedded within an earlier string (if
you want to use a quote mark within a string, you must precede the quote mark
with a backslash '\').


Errors: 2
Warnings: 0

$ t3make -P | grep Chl -
class ë Chlo : object
    name = 'Chloë';
    local a = new ë Chlo;
TagsNo tags attached.
Fixed In Version3.1.3
Attached Files? file icon 1.t [^] (276 bytes) 2013-01-13 19:01

- Relationships

-  Notes
(0000302)
NRTurner (reporter)
2013-01-13 19:03

To reproduce:
Define an alias to an ASCII symbol which is identical but with a non-ASCII unicode character appended.
Use the ASCII symbol in the source code.

- Issue History
Date Modified Username Field Change
2013-01-13 19:01 NRTurner New Issue
2013-01-13 19:01 NRTurner File Added: 1.t
2013-01-13 19:03 NRTurner Note Added: 0000302
2013-04-23 02:34 Michael Roberts Fixed In Version => 3.1.3
2013-04-23 02:34 Michael Roberts Assigned To => Michael Roberts
2013-04-23 02:34 Michael Roberts Status new => resolved
2013-04-23 02:34 Michael Roberts Resolution open => fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker