rules.add(new SingleLineRule("\'", "\'", string, '\\'));
rules.add(new WordPatternRule(new StdLogicDetector(), "\'", "\'", string));
		public VhdlPartitionScanner()		{			super();			IToken string = new Token(STRING);			IToken singleLineComment = new Token(SINGLE_LINE_COMMENT);			List rules = new ArrayList();			// single line comments.			rules.add(new EndOfLineRule("--", singleLineComment));			// strings.			rules.add(new SingleLineRule("\"", "\"", string, '\\'));			rules.add(new SingleLineRule("\'", "\'", string, '\\'));			IPredicateRule[] result = new IPredicateRule[rules.size()];			rules.toArray(result);			setPredicateRules(result);		}