Skip to content

Commit

Permalink
fix(build): Fix sed error in mkskel.sh on macos.
Browse files Browse the repository at this point in the history
Comment out dead code in scan.l

Refs: westes#632
  • Loading branch information
Mightyjo committed Mar 14, 2024
1 parent d86f102 commit c674b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkskel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ sed '/^%#/d
s/m4_/m4preproc_/g
s/a4_/4_/g
s/[\\"]/\\&/g
s/[^\r]*/ "&",/'
s/[^'$'\r'']*/ "&",/'
2 changes: 2 additions & 0 deletions src/scan.l
Original file line number Diff line number Diff line change
Expand Up @@ -673,12 +673,14 @@ void context_member(char *, const char *);
*/
&& (cclval = ccllookup( nmstr )) != 0 )
{
/*
if ( yyinput() != ']' )
synerr( _( "bad character class" ) );
yylval = cclval;
++cclreuse;
return PREVCCL;
*/
}
else
{
Expand Down

0 comments on commit c674b5f

Please sign in to comment.