Skip to content

Commit 9456d2a

Browse files
author
Alexander Shiryaev
committed
make drivers executable by default
1 parent 6722c28 commit 9456d2a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Coco.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/env python
12
#/*-------------------------------------------------------------------------
23
#Coco.py -- the Compiler Driver
34
#Compiler Generator Coco/R,

DriverGen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def WriteDriver( ):
5252
#DriverGen.codeGen.write( Tab.gramSy.name )
5353
DriverGen.codeGen.CopyFramePart( '$$$' )
5454
DriverGen.codeGen.close( )
55+
os.chmod(fn, 0755)
5556

5657
@staticmethod
5758
def Init( f, dir ):

frames/Driver.frame

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/env python
12
#/*-------------------------------------------------------------------------
23
#Coco.py -- the Compiler Driver
34
#Compiler Generator Coco/R,

sources/Coco.frame

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/env python
12
#/*-------------------------------------------------------------------------
23
#Coco.py -- the Compiler Driver
34
#Compiler Generator Coco/R,

0 commit comments

Comments
 (0)