Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gcc-cobol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COBOLworx
gcc-cobol
Commits
1ce25538
Commit
1ce25538
authored
1 year ago
by
James K. Lowden
Browse files
Options
Downloads
Patches
Plain Diff
for fixed-format, clear line-number area for short lines, too
parent
98b5fcef
No related branches found
No related tags found
No related merge requests found
Pipeline
#1284
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gcc/cobol/cdf_text.h
+4
-0
4 additions, 0 deletions
gcc/cobol/cdf_text.h
gcc/cobol/scan.l
+1
-1
1 addition, 1 deletion
gcc/cobol/scan.l
with
5 additions
and
1 deletion
gcc/cobol/cdf_text.h
+
4
−
0
View file @
1ce25538
...
@@ -151,6 +151,10 @@ cdftext::free_form_reference_format( int input ) {
...
@@ -151,6 +151,10 @@ cdftext::free_form_reference_format( int input ) {
char
*
indcol
=
indicated
(
mfile
.
cur
,
mfile
.
eol
);
// true only for fixed format
char
*
indcol
=
indicated
(
mfile
.
cur
,
mfile
.
eol
);
// true only for fixed format
if
(
is_fixed_format
()
&&
!
indcol
)
{
// short line
erase_source
(
mfile
.
cur
,
mfile
.
eol
);
}
if
(
indcol
)
{
if
(
indcol
)
{
// Set to blank columns 1-6 and anything past the right margin.
// Set to blank columns 1-6 and anything past the right margin.
erase_source
(
mfile
.
cur
,
indcol
);
erase_source
(
mfile
.
cur
,
indcol
);
...
...
This diff is collapsed.
Click to expand it.
gcc/cobol/scan.l
+
1
−
1
View file @
1ce25538
...
@@ -987,7 +987,7 @@ USE([[:space:]]+FOR)? { return USE; }
...
@@ -987,7 +987,7 @@ USE([[:space:]]+FOR)? { return USE; }
CONSTANT { return CONSTANT; }
CONSTANT { return CONSTANT; }
CONTAINS { return CONTAINS; }
CONTAINS { return CONTAINS; }
DATA { return DATA; }
DATA { return DATA; }
DEPENDING
{ return DEPENDING; }
DEPENDING { return DEPENDING; }
DESCENDING { return DESCENDING; }
DESCENDING { return DESCENDING; }
DISPLAY { return DISPLAY; }
DISPLAY { return DISPLAY; }
EJECT { return EJECT; }
EJECT { return EJECT; }
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment