Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5279c7e

Browse files
committed
Merge pull request#173 from benbasson/dollar-in-object-names
Allow $ in SQL identifiers
2 parents16d8313 +e1aa98e commit5279c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/coderay/scanners/sql.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def scan_tokens encoder, options
9696
state=:string
9797
encoder.text_tokenmatch,:delimiter
9898

99-
elsifmatch=scan(/ @? [A-Za-z_][A-Za-z_0-9]* /x)
99+
elsifmatch=scan(/ @? [A-Za-z_][A-Za-z_0-9\$]* /x)
100100
encoder.text_tokenmatch,name_expected ?:ident :(match[0] == ?@ ?:variable :IDENT_KIND[match])
101101
name_expected=false
102102

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp