Incorrect grammer: StochasticExpression do not support Strings containing numbers

Description

String literals are not somehow not allowed to contain numbers. The string "2" cannot be specified, however "x" does work.

Lexer uses according to documentation:
mDIGIT : ’0’..’9’;
mNUMBER : ( mDIGIT )( ’.’ ( mDIGIT ) | );
mALPHA : ’a’..’z’| ’A’..’Z’;
mSTRING_LITERAL : "\""( mALPHA | ’_’ )+ "\"";

Environment

None

Activity

Show:
Jörg Henß
September 27, 2012, 10:04 AM

Aligned both grammars to support digits in string literals:
STRING_LITERAL : '\"' (ALPHA|'_'|' '|DIGIT)+ '\"' ;

Fixed

Assignee

Jörg Henß

Reporter

Henning Groenda