Be consistent in how we replace tokens

This commit is contained in:
Juan Martín Sotuyo Dodero 2024-09-17 17:09:29 -03:00
parent 029130a478
commit cae71e7a5e

View File

@ -224,9 +224,7 @@
<target name="cleanup-parser" unless="jjtreeBuildNotRequired">
<replace token="class ${parser-name}">
<replacevalue expandProperties="true"><![CDATA[@net.sourceforge.pmd.annotation.Generated("org.javacc.javacc")
class ]]>${parser-name}</replacevalue>
<replace token="class ${parser-name}" value='@net.sourceforge.pmd.annotation.Generated("org.javacc.javacc")${line.separator}class ${parser-name}'>
<file name="${parser-file}" />
</replace>