-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate UCUM and FHIRPath lexers/parsers with latest antlr4
And update to 4.9.3. I also removed the generated tokens and interp files as those are not needed at runtime (source: https://stackoverflow.com/questions/59734259/antlr-generated-files). Commands for regenerating: ``` antlr4 -no-listener -package com.ibm.fhir.model.ucum fhir-model/UCUM.g4 && sed -i.bak $'s/\t/ /g' fhir-model/UCUM*.java && mv fhir-model/UCUM*.java fhir-model/src/main/java/com/ibm/fhir/model/ucum/ ``` ``` antlr4 -visitor -no-listener -package com.ibm.fhir.path fhir-path/FHIRPath.g4 && sed -i.bak $'s/\t/ /g' fhir-path/FHIRPath*.java && mv fhir-path/FHIRPath*.java fhir-path/src/main/java/com/ibm/fhir/path/ ``` Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
- Loading branch information
Showing
15 changed files
with
13 additions
and
795 deletions.
There are no files selected for viewing
55 changes: 0 additions & 55 deletions
55
fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUM.interp
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUM.tokens
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUMLexer.interp
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUMLexer.tokens
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
153 changes: 0 additions & 153 deletions
153
fhir-path/src/main/java/com/ibm/fhir/path/FHIRPath.interp
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.