Skip to content

[postgresql] Fix for #4332 -- fix ambiguity with '=' (rewrite Floyd operator precedence grammar) #5262

[postgresql] Fix for #4332 -- fix ambiguity with '=' (rewrite Floyd operator precedence grammar)

[postgresql] Fix for #4332 -- fix ambiguity with '=' (rewrite Floyd operator precedence grammar) #5262

Triggered via pull request November 19, 2024 23:37
Status Success
Total duration 9m 1s
Artifacts

main.yml

on: pull_request
Matrix: static-check
Matrix: build-pwsh
Fit to window
Zoom out
Zoom in

Annotations

36 warnings
static-check (ubuntu-latest, format): sql/postgresql#L1
one or more grammars do not conform to the Antlr grammar coding standard format for this repo. Reformat using antlr-format.
static-check (ubuntu-latest, useless-parens): sql/postgresql#L1
grammar contains useless parentheses. Check log for more details.
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
static-check (ubuntu-latest, ambiguity): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (macos-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (ubuntu-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (windows-latest, Cpp)
'antlr4::dfa::Vocabulary::EMPTY_VOCABULARY': Use the default constructor of Vocabulary instead.
build-pwsh (windows-latest, Cpp)
'initializing': conversion from '_Ty' to '_Ty1', possible loss of data
build-pwsh (windows-latest, Cpp)
with
build-pwsh (windows-latest, Cpp)
_Ty=int
build-pwsh (windows-latest, Cpp)
and
build-pwsh (windows-latest, Cpp)
_Ty1=uint8_t
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1435
warning(146): PostgreSQLLexer.g4:1435:0: non-fragment lexer rule AfterEscapeStringConstantMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/PostgreSQLLexer.g4#L1450
warning(146): PostgreSQLLexer.g4:1450:0: non-fragment lexer rule AfterEscapeStringConstantWithNewlineMode_NotContinued can match the empty string
build-pwsh (windows-latest, CSharp): sql/postgresql/Generated-CSharp/MyParserInterpreter.cs#L31
The field 'MyParserInterpreter._grammarFileName' is never used