Skip to content

Commit

Permalink
Sync with latest Syntax Dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Jul 12, 2024
1 parent f2dc922 commit d925a48
Show file tree
Hide file tree
Showing 18 changed files with 656 additions and 447 deletions.
7 changes: 6 additions & 1 deletion src/c-lib/ai.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,12 @@ void test_ai_linters(void) {
// GS1_LINTER_DATE_WITH_HOUR_TOO_LONG Parse-time length checks prevent this
// GS1_LINTER_HOUR_WITH_MINUTE_TOO_SHORT Parse-time length checks prevent this
// GS1_LINTER_HOUR_WITH_MINUTE_TOO_LONG Parse-time length checks prevent this
{ "(8008)20122515300", GS1_LINTER_MMSS_INVALID_LENGTH },
// GS1_LINTER_HOUR_TOO_SHORT Parse-time length checks prevent this
// GS1_LINTER_HOUR_TOO_LONG Parse-time length checks prevent this
// GS1_LINTER_MINUTE_TOO_SHORT Parse-time length checks prevent this
// GS1_LINTER_MINUTE_TOO_LONG Parse-time length checks prevent this
// GS1_LINTER_SECOND_TOO_SHORT Parse-time length checks prevent this
// GS1_LINTER_SECOND_TOO_LONG Parse-time length checks prevent this
{ "(4326)201300", GS1_LINTER_ILLEGAL_MONTH },
{ "(4326)201200", GS1_LINTER_ILLEGAL_DAY },
{ "(4324)2012252400", GS1_LINTER_ILLEGAL_HOUR },
Expand Down
4 changes: 2 additions & 2 deletions src/c-lib/aitable.inc
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ static struct aiEntry embedded_ai_table[] = {
AI_ENTRY( "8005", DO_FNC1, DL_DATA_ATTR, N,6,6,MAN,_,_, __, __, __, __, "req=01,02", "PRICE PER UNIT" ),
AI_ENTRY( "8006", DO_FNC1, DL_DATA_ATTR, N,14,14,MAN,csum,_, N,4,4,MAN,pieceoftotal,_, __, __, __, "ex=01,37 dlpkey=22,10,21", "ITIP" ),
AI_ENTRY( "8007", DO_FNC1, DL_DATA_ATTR, X,1,34,MAN,iban,_, __, __, __, __, "req=415", "IBAN" ),
AI_ENTRY( "8008", DO_FNC1, DL_DATA_ATTR, N,8,8,MAN,yymmddhh,_, N,1,4,OPT,mmoptss,_, __, __, __, "req=01,02", "PROD TIME" ),
AI_ENTRY( "8008", DO_FNC1, DL_DATA_ATTR, N,6,6,MAN,yymmdd,_, N,2,2,MAN,hh,_, N,2,2,OPT,mm,_, N,2,2,OPT,ss,_, __, "req=01,02", "PROD TIME" ),
AI_ENTRY( "8009", DO_FNC1, DL_DATA_ATTR, X,1,50,MAN,_,_, __, __, __, __, "req=00,01", "OPTSEN" ),
AI_ENTRY( "8010", DO_FNC1, DL_DATA_ATTR, Y,1,30,MAN,key,_, __, __, __, __, "dlpkey=8011", "CPID" ),
AI_ENTRY( "8011", DO_FNC1, NO_DATA_ATTR, N,1,12,MAN,nozeroprefix,_, __, __, __, __, "req=8010", "CPID SERIAL" ),
Expand All @@ -514,7 +514,7 @@ static struct aiEntry embedded_ai_table[] = {
AI_ENTRY( "8017", DO_FNC1, DL_DATA_ATTR, N,18,18,MAN,csum,key, __, __, __, __, "ex=8018 dlpkey=8019", "GSRN - PROVIDER" ),
AI_ENTRY( "8018", DO_FNC1, DL_DATA_ATTR, N,18,18,MAN,csum,key, __, __, __, __, "ex=8017 dlpkey=8019", "GSRN - RECIPIENT" ),
AI_ENTRY( "8019", DO_FNC1, NO_DATA_ATTR, N,1,10,MAN,_,_, __, __, __, __, "req=8017,8018", "SRIN" ),
AI_ENTRY( "8020", DO_FNC1, DL_DATA_ATTR, X,1,25,MAN,_,_, __, __, __, __, "req=415", "REF No." ),
AI_ENTRY( "8020", DO_FNC1, NO_DATA_ATTR, X,1,25,MAN,_,_, __, __, __, __, "req=415", "REF No." ),
AI_ENTRY( "8026", DO_FNC1, DL_DATA_ATTR, N,14,14,MAN,csum,_, N,4,4,MAN,pieceoftotal,_, __, __, __, "req=37 ex=02,8006", "ITIP CONTENT" ),
AI_ENTRY( "8030", DO_FNC1, DL_DATA_ATTR, Z,1,90,MAN,_,_, __, __, __, __, "req=00,01+21,253,255,8003,8004,8006+21,8010+8011,8017,8018", "DIGSIG" ),
AI_ENTRY( "8110", DO_FNC1, DL_DATA_ATTR, X,1,70,MAN,couponcode,_, __, __, __, __, "", "" ),
Expand Down
Loading

0 comments on commit d925a48

Please sign in to comment.