Skip to content

Commit 80ef15e

Browse files
committed
Extract Xrefer, and refactor JFlexXref
1 parent ffbd84b commit 80ef15e

File tree

142 files changed

+3798
-2892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+3798
-2892
lines changed

src/org/opensolaris/opengrok/analysis/Common.lexh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@
2222
*/
2323

2424
WhspChar = [ \t\f]
25-
WhiteSpace = {WhspChar}+
2625
EOL = ([\n\r] | \r\n)

src/org/opensolaris/opengrok/analysis/FileAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public void analyze(Document doc, StreamSource src, Writer xrefOut) throws IOExc
213213
* @return the instance used to write the cross-referencing
214214
* @throws java.io.IOException if an error occurs
215215
*/
216-
public JFlexXref writeXref(WriteXrefArgs args) throws IOException {
216+
public Xrefer writeXref(WriteXrefArgs args) throws IOException {
217217
throw new UnsupportedOperationException(
218218
"Base FileAnalyzer cannot write xref");
219219
}

src/org/opensolaris/opengrok/analysis/JFlexJointLexer.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ public interface JFlexJointLexer extends JFlexStackingLexer {
3939
*/
4040
void offer(String value) throws IOException;
4141

42-
/**
43-
* Passes non-symbolic fragment for processing, with a hint that it
44-
* contains non-word-like characters.
45-
* @param value the excised fragment
46-
* @throws IOException if an error occurs while accepting
47-
*/
48-
void offerNonword(String value) throws IOException;
49-
5042
/**
5143
* Passes a text fragment that is syntactically a symbol for processing.
5244
* @param value the excised symbol

0 commit comments

Comments
 (0)