Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Commit

Permalink
Make sed more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Jan 31, 2019
1 parent 496a172 commit d638c74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compile.sh
Expand Up @@ -13,7 +13,7 @@ function gendoc {

function gentool {
mkdir -p parsers/$1/$2 2> /dev/null
specgen --file=specs/$1.gspec.go --lang=$2 | sed -e 's/'$1'/main/' > parsers/$1/$2/$1.$2
specgen --file=specs/$1.gspec.go --lang=$2 | sed -e 's/package '$1'/package main/' > parsers/$1/$2/$1.$2
}

function genall {
Expand Down
2 changes: 1 addition & 1 deletion parsers/checkbin/c/checkbin.c
Expand Up @@ -2,7 +2,7 @@
#include <stdint.h>
#include <stdio.h>

/* Format name: main */
/* Format name: checkbin */


typedef enum {
Expand Down
2 changes: 1 addition & 1 deletion parsers/mnu/c/mnu.c
Expand Up @@ -2,7 +2,7 @@
#include <stdint.h>
#include <stdio.h>

/* Format name: main */
/* Format name: mnu */



Expand Down
2 changes: 1 addition & 1 deletion parsers/textdb/c/textdb.c
Expand Up @@ -2,7 +2,7 @@
#include <stdint.h>
#include <stdio.h>

/* Format name: main */
/* Format name: textdb */



Expand Down

0 comments on commit d638c74

Please sign in to comment.