head	1.1;
access;
symbols
	codegen1_branch:1.1.0.12
	codegen1_base:1.1
	java:1.1.0.10
	java_base:1.1
	semantics_branch:1.1.0.8
	semantics_base:1.1
	recovery_branch:1.1.0.6
	recovery_base:1.1
	parser:1.1.0.4
	parser_base:1.1
	scanner_release:1.1.0.2
	scanner_release_base:1.1;
locks; strict;
comment	@# @;


1.1
date	96.09.11.04.52.44;	author hartmans;	state Exp;
branches;
next	;


desc
@Check string and char constant handling
@


1.1
log
@Adding some test cases
@
text
@% This is a test case to check string handling.
"This is a normal, regular string that uses some punctuation. " ;
" This string contains %, a comment character"; % should be no errors
% The following test fails because you can't have ' in a string
% note that you  get an extra error because you take the closing quote as a new string
% That ends on EOL.

"You don't do this in Machete  " 

"This \n String can contain the word don\'t."
'a' %normal char constant
'' % Null constants bad.
'ab %no, only one character.
'\n' % unless it's an escape
"This is going to go off eof
@
