mirror of https://github.com/apache/lucene.git
LUCENE-5207: replace tabs by 2 spaces now. antlr 3.5 produces tabs consistently now, so we can replace them (no mixed tabs anymore)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7480e82c21
commit
91aaa597a8
|
@ -113,9 +113,9 @@
|
|||
<!-- nuke timestamps in generated files -->
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Parser.java" match=".*" replace="\/\/ ANTLR GENERATED CODE: DO NOT EDIT" encoding="UTF-8"/>
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Lexer.java" match=".*" replace="\/\/ ANTLR GENERATED CODE: DO NOT EDIT" encoding="UTF-8"/>
|
||||
<!-- remove tabs in antlr generated files (it does this for comments in finally blocks) -->
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Parser.java" match="\t" flags="g" replace=" " encoding="UTF-8"/>
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Lexer.java" match="\t" flags="g" replace=" " encoding="UTF-8"/>
|
||||
<!-- remove tabs in antlr generated files -->
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Parser.java" match="\t" flags="g" replace=" " encoding="UTF-8"/>
|
||||
<replaceregexp file="${grammar.path}/@{grammar}Lexer.java" match="\t" flags="g" replace=" " encoding="UTF-8"/>
|
||||
<!-- fix line endings -->
|
||||
<fixcrlf file="${grammar.path}/@{grammar}Parser.java"/>
|
||||
<fixcrlf file="${grammar.path}/@{grammar}Lexer.java"/>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue