Skip to content

Commit

Permalink
Merge pull request #3002 from IBM/antlr-regen
Browse files Browse the repository at this point in the history
Regenerate UCUM and FHIRPath lexers/parsers with latest antlr4
  • Loading branch information
lmsurpre authored Nov 17, 2021
2 parents cbd235c + 27a82bc commit 6b5f17b
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 796 deletions.
55 changes: 0 additions & 55 deletions fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUM.interp

This file was deleted.

28 changes: 0 additions & 28 deletions fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUM.tokens

This file was deleted.

62 changes: 0 additions & 62 deletions fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUMLexer.interp

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* (C) Copyright IBM Corp. 2020, 2021
* (C) Copyright IBM Corp. 2021
*
* SPDX-License-Identifier: Apache-2.0
*/

// Generated from UCUM.g4 by ANTLR 4.9.1
// Generated from fhir-model/UCUM.g4 by ANTLR 4.9.3
package com.ibm.fhir.model.ucum;

import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.RuntimeMetaData;
Expand All @@ -20,7 +19,7 @@

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class UCUMLexer extends Lexer {
static { RuntimeMetaData.checkVersion("4.9.1", RuntimeMetaData.VERSION); }
static { RuntimeMetaData.checkVersion("4.9.3", RuntimeMetaData.VERSION); }

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
28 changes: 0 additions & 28 deletions fhir-model/src/main/java/com/ibm/fhir/model/ucum/UCUMLexer.tokens

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* (C) Copyright IBM Corp. 2020, 2021
* (C) Copyright IBM Corp. 2021
*
* SPDX-License-Identifier: Apache-2.0
*/

// Generated from UCUM.g4 by ANTLR 4.9.1
// Generated from fhir-model/UCUM.g4 by ANTLR 4.9.3
package com.ibm.fhir.model.ucum;

import java.util.List;

import org.antlr.v4.runtime.NoViableAltException;
Expand All @@ -27,7 +26,7 @@

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class UCUMParser extends Parser {
static { RuntimeMetaData.checkVersion("4.9.1", RuntimeMetaData.VERSION); }
static { RuntimeMetaData.checkVersion("4.9.3", RuntimeMetaData.VERSION); }

protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
Expand Down
2 changes: 1 addition & 1 deletion fhir-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.9.1</version>
<version>4.9.3</version>
</dependency>
<dependency>
<groupId>jakarta.mail</groupId>
Expand Down
153 changes: 0 additions & 153 deletions fhir-path/src/main/java/com/ibm/fhir/path/FHIRPath.interp

This file was deleted.

Loading

0 comments on commit 6b5f17b

Please sign in to comment.