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 {
361
361
} , [ ] as Conditional [ ] [ ] ) ;
362
362
}
363
363
364
- private static getLinesForKeyword ( keyword : Keyword ) : string [ ] {
364
+ public static getLinesForKeyword ( keyword : Keyword ) : string [ ] {
365
365
const lines : string [ ] = [ ] ;
366
366
367
367
// Convert array into groups of three
@@ -409,7 +409,7 @@ export class DisplayFile {
409
409
} else if ( displayType && field . name ) {
410
410
const definitionType = field . type ;
411
411
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 ) ;
413
413
newLines . push (
414
414
` A ${ conditionStrings } ${ field . name . padEnd ( 10 ) } ${ length } ${ definitionType } ${ decimals } ${ displayType } ${ y } ${ x } ` ,
415
415
) ;
You can’t perform that action at this time.
0 commit comments