File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export class DisplayFile {
361361 } , [ ] as Conditional [ ] [ ] ) ;
362362 }
363363
364- private static getLinesForKeyword ( keyword : Keyword ) : string [ ] {
364+ public static getLinesForKeyword ( keyword : Keyword ) : string [ ] {
365365 const lines : string [ ] = [ ] ;
366366
367367 // Convert array into groups of three
@@ -409,7 +409,7 @@ export class DisplayFile {
409409 } else if ( displayType && field . name ) {
410410 const definitionType = field . type ;
411411 const length = String ( field . length ) . padStart ( 5 ) ;
412- const decimals = String ( field . decimals ) . padStart ( 2 ) ;
412+ const decimals = ( field . type !== `A` ? String ( field . decimals ) : `` ) . padStart ( 2 ) ;
413413 newLines . push (
414414 ` A ${ conditionStrings } ${ field . name . padEnd ( 10 ) } ${ length } ${ definitionType } ${ decimals } ${ displayType } ${ y } ${ x } ` ,
415415 ) ;
You can’t perform that action at this time.
0 commit comments