Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBC Parser - Fix yacc warnings #1082

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions vehicle/OVMS.V3/components/dbc/src/dbc_parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ dbcSignal* current_signal = NULL;
%token T_PAR_OPEN
%token T_PAR_CLOSE
%token T_COMMA
%token T_ID
%token T_STRING_VAL
%token T_INT_VAL
%token T_DOUBLE_VAL
%token <string> T_ID
%token <string> T_STRING_VAL
%token <number> T_INT_VAL
%token <double_val> T_DOUBLE_VAL

%token T_VERSION

Expand Down Expand Up @@ -155,9 +155,9 @@ dbcSignal* current_signal = NULL;
%token T_SG_MUL_VAL
%token T_DUMMY_NODE_VECTOR

%type <string> T_ID T_STRING_VAL version_section signal_mux
%type <number> T_INT_VAL signal_endian signal_sign signal_start signal_length
%type <double_val> T_DOUBLE_VAL double_val signal_scale signal_offset signal_min signal_max
%type <string> version_section signal_mux
%type <number> signal_endian signal_sign signal_start signal_length
%type <double_val> double_val signal_scale signal_offset signal_min signal_max
%%

dbc:
Expand Down