Skip to content

Commit

Permalink
Replace " by ' in generated lexer/parser where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Tews committed Nov 20, 2017
1 parent 1b3acb9 commit 85d7827
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lempar.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function tokenName($tokenType)
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
return $this->yyTokenName[$tokenType];
} else {
return "Unknown";
return 'Unknown';
}
}

Expand Down Expand Up @@ -294,8 +294,8 @@ public function yy_find_shift_action($iLookAhead)
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
if ($this->yyTraceFILE) {
fwrite($this->yyTraceFILE, $this->yyTracePrompt . "FALLBACK " .
$this->yyTokenName[$iLookAhead] . " => " .
fwrite($this->yyTraceFILE, $this->yyTracePrompt . 'FALLBACK ' .
$this->yyTokenName[$iLookAhead] . ' => ' .
$this->yyTokenName[$iFallback] . "\n");
}

Expand Down

0 comments on commit 85d7827

Please sign in to comment.